Author |
|
krommetje Super User
Joined: December 29 2004 Location: Netherlands
Online Status: Offline Posts: 695
|
Posted: October 23 2006 at 05:09 | IP Logged
|
|
|
I use the following code for dimming my daughters bedroomlight:
Code:
<center>
<font face="MS Sans Serif" color=white size=2>Maike lamp:
<form method="get" action="/ph-cgi/devicebtn">
<input type="hidden" name="nexturl" value="/peter.psp">
<input type="hidden" name="type" value="0">
<input type="hidden" name="id" value="M2">
<input type="submit" name="cmd" value="On">
<input type="submit" name="cmd" value="Off">
<input type="text" name="level" size="5">
<input type="submit" value="ADim">
<input type="hidden" name="cmd" value="ADim">
</form>
<center><font face="MS Sans Serif" color=white size=2>Dimlevel: <font face="MS Sans Serif" color=yellow size=2><%int(PH_GETX10LEVEL("M2"))%>%
|
|
|
after the page is refreshed, all graphics are gone????
Peter
Peter
Edited by krommetje - October 23 2006 at 06:12
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: October 28 2006 at 21:07 | IP Logged
|
|
|
Peter,
Ive been looking over your message and don't quite understand. In the code you've posted, I don't see where any graphics are being referenced. Which graphics are you referring to? Give me a little more info and I'll see what I can do to help you out.
Dave.
|
Back to Top |
|
|
krommetje Super User
Joined: December 29 2004 Location: Netherlands
Online Status: Offline Posts: 695
|
Posted: October 29 2006 at 02:12 | IP Logged
|
|
|
I see that I've posted the wrong code
I was working on http://www.power-home.com/forum/forum_posts.asp?TID=933&PN=1 an added an auto refresh and After I got the code togheter and ran it first the form was loaded and then after auto-refreshing all graphics were gone, I had to empty the Cache and refesh another time before all ran OK and had to do this everytime after the refresh.... A second thing about this was that to look for an answer, I tried to load the form into a page with 3 frames and strangly enough (regarding the graphics) now everything worked OK (except for the input of the keypad, I got that working yesterday as shown in another post) Perhaps a browser problem but just to be on the safe side I asked this question...
Peter
|
Back to Top |
|
|