PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
shotokan
Worker
Worker


Joined: Aug 27, 2006
Posts: 153

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

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
Only registered users can see links on this board!
Get registered or login to the forums!


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
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

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

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


Joined: Aug 27, 2006
Posts: 153

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

persona_non_grata 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.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

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

maybe i overlooked something but aren't you pulling the info from another address ?
they use a black background...
View user's profile Send private message
shotokan
Worker
Worker


Joined: Aug 27, 2006
Posts: 153

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

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.
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

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

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...
View user's profile Send private message
shotokan
Worker
Worker


Joined: Aug 27, 2006
Posts: 153

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

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.
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

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

or dark grey.....
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum