Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.8
Author Message
shotokan
Worker
Worker



Joined: Aug 27, 2006
Posts: 172

PostPosted: Thu Jan 11, 2007 11:32 pm Reply with quote

I have this block where i create a dropdown select list and when the user select a option it trigger a onchange function where i launch an iframe.

see code here http://home.comcast.net/~sossai/monitor.zip

Now this iframe call another code caleed monitor.php where i am trying to add the get_theme() and link to the css of the theme being used but is not working for some reason.

When the scripts run and i looked into the "view source" everything on the monitor.php below the link ref part is not executed.

See code here http://home.comcast.net/~sossai/block-ServerMonitor.zip
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Fri Jan 12, 2007 3:49 am Reply with quote

any url so we can see..... Wink
 
View user's profile Send private message
shotokan







PostPosted: Fri Jan 12, 2007 7:31 am Reply with quote

hitwalker wrote:
any url so we can see..... Wink


Yes sure. Sorry about that. It is the center block with the dropdown menu. Right is with a black background but i really want it to use whatever theme background is currently used since i have a theme preview block there and people can change the theme at any time.

http://www.n00bfest.com/v3test
 
hitwalker







PostPosted: Fri Jan 12, 2007 9:32 am Reply with quote

maybe i overlooked something but aren't you pulling the info from another address ?
they use a black background...
 
shotokan







PostPosted: Fri Jan 12, 2007 12:53 pm Reply with quote

Yes i am but they don't use any background whatsoever. The black background you see is on the monitor.php code i did right in the beggininh with the HTML tag.

If you actually bring that without specifying any background it will use the default especified on your browser and my case IE would be white.

So i was trying to add the called to the get_theme() function and make it uses whatever theme background being used at the moment.

But it is not working.

I think the get_theme should be on the monior.php code but when i added it there it did not work at all.
 
hitwalker







PostPosted: Fri Jan 12, 2007 3:16 pm Reply with quote

oh yeah i see,but that will not work...
you cant set the body background and use style from the used theme at the same time..
if you take that out with a litle luck it automatically uses the background of the theme...
 
shotokan







PostPosted: Fri Jan 12, 2007 4:09 pm Reply with quote

I would say i am not that luck Crying or Very sad
Before that version of the code i had the first one where i had no background set and it all came in WHITE that's why i mentioned that thing about using the default on the browser.

So i started trying the CSS theme but since i could not make it to work i just set the black on the background for now becaue i hate the white one.
 
hitwalker







PostPosted: Fri Jan 12, 2007 4:20 pm Reply with quote

or dark grey.....
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.8

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©