PDA

View Full Version : Chrome CSS Drop Down Menu Issue



Windy
03-11-2008, 02:51 PM
1) Script Title: Chrome CSS Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

3) Describe problem: I have saved this code to (http://users.igl.net/mlp694/AprilBratz.html) but is obviously missing something preventing it from loading correctly.
I had someone create the code for me as I am just starting to learn javascript.
As specific as possible can someone show me what the code is missing?

ddadmin
03-11-2008, 07:39 PM
Both of your references to the .css and .js files of the script are broken:

http://users.igl.net/mlp694/chromemenu/chrometheme/chromestyle.css
http://users.igl.net/mlp694/chromemenu/chromejs/chrome.js

Windy
03-11-2008, 11:53 PM
I am not sure what that means. I have attached the files sent to me for the code. I am using the server from Cases (Myleague). I loaded the index file to the server but it is not working properly. I am not sure where to put the other 2 files. Save it in the same place as the index file? If so in which order? Please help!!!

ddadmin
03-12-2008, 06:47 AM
Well, at the top of your head, you have two references that point to:

http://users.igl.net/mlp694/chromemenu/chrometheme/chromestyle.css
http://users.igl.net/mlp694/chromemenu/chromejs/chrome.js

respectively. They led to broken URLs, not the actual files, which tells me you haven't uploaded the two files to the correct place as referenced above.

I see now you're trying to directly add the code within these two files to your page. That's fine, however, the contents of the. js file needs to be wrapped around with <script></script> tags, and the .css file, <style></style> tags.

Windy
03-12-2008, 05:19 PM
Hi ddadnin,
You will never know how much I appreciate you explaining this to me where I could understand. Wish I had contacted you first woulda saved alot of hairpulling. Thanx a million!!!!