Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: dimlevel next to on/off: graphics gone Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
krommetje
Super User
Super User
Avatar

Joined: December 29 2004
Location: Netherlands
Online Status: Offline
Posts: 695
Posted: October 23 2006 at 05:09 | IP Logged Quote krommetje

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 View krommetje's Profile Search for other posts by krommetje Visit krommetje's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 28 2006 at 21:07 | IP Logged Quote dhoward

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 View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
krommetje
Super User
Super User
Avatar

Joined: December 29 2004
Location: Netherlands
Online Status: Offline
Posts: 695
Posted: October 29 2006 at 02:12 | IP Logged Quote krommetje

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 View krommetje's Profile Search for other posts by krommetje Visit krommetje's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum