Logged Out
Create an Account
Login:
Password:

Forgot your password?
help please!!!

help please!!!
[Back to Index]
Thread Tags
Primary: [General]
Secondary: None

ok i decided to try adding the NVIDIA updater on my site. i copied and pasted the code straight from NVIDIA. here's the code:

<div><script src='http://www.nvidia.com/content/includes/js/AC_OETags.js' language='javascript'></script><script>AC_FL_RunContent('flashVars', 'version=vertical','src', 'http://www.nvidia.com/content/DriverDownload/widget/driver_widget','width', '300','height', '600','align', 'middle','id', 'driver_widget','quality', 'high','bgcolor', '#869ca7','name', 'driver_widget','wmode', 'transparent','allowScriptAccess','sameDomain','type', 'application/x-shockwave-flash','pluginspage', 'http://www.adobe.com/go/getflashplayer')

the first layout (horizontal) worked. but when i tried to switch to the vertical layout, this is what happened to my site:

http://thanatos.dkpsystem.com/news.php

when i click on the admin link, none of the sub menus show up. so i could use some help in fixing this.
There's something missing from that code: The end tags.

If you look at it indented (which makes it easier to read):

<div>
	<script src='http://www.nvidia.com/content/includes/js/AC_OETags.js' language='javascript'></script>
	<script>AC_FL_RunContent('flashVars', 'version=vertical','src', 'http://www.nvidia.com/content/DriverDownload/widget/driver_widget','width', '300','height', '600','align', 'middle','id', 'driver_widget','quality', 'high','bgcolor', '#869ca7','name', 'driver_widget','wmode', 'transparent','allowScriptAccess','sameDomain','type', 'application/x-shockwave-flash','pluginspage', 'http://www.adobe.com/go/getflashplayer')


You'll see that the second <script> tag doesn't close, and neither does the <div> at the top, which is what's causing your problem. I've fixed it for you, but just make sure that your script ends with a </script> and a </div>


--
It's all in the reflexes.


[Back to Index]