Spry nav help (Full Version)

All Forums >> [Web Development] >> Dreamweaver Help



Message


505BC -> Spry nav help (8/25/2007 0:21:48)

i sent up a menu bar and it looks fine in dreamweaver but when i put it on the net it gives me something totally different. Look at when its on the net

www.505bc.com/java/theone.html

does anyone know a reason why?




Tailslide -> RE: Spry nav help (8/25/2007 3:18:23)

There are several things.

It appears that most of your paths are incorrect - they mostly seem to be local to your desktop rather than the web server. This goes for your stylesheets and images. I can't find the JS file on the server either.

Check ALL your paths for ALL files.

Also, code-wise you've got divs inside list items in your menu which is incorrect. List items (inline elements) cannot contain Divs (block elements). You've also got a table which is 107% wide. Elements can only be a maximum of 100% wide unless you actually want a scrollbar.




505BC -> RE: Spry nav help (8/25/2007 3:26:46)

thanks for the help, i not worried bout links just yet i want to make sure that the menu is correct, so how do i go about putting js on my server? in so new to dreamweaver! ill go ahead and change my table widths! thanks




Tailslide -> RE: Spry nav help (8/25/2007 4:47:18)

I don't use Dreamweaver I'm afraid - but I understand it has a built-in FTP programme to upload files to the webserver. You'll need to enter your webserver address, username and password to get access to your web server.

You'll need to correct all the paths in your file to ensure that they'll be able to find the files on the webserver so for instance where you've got paths like: href="file:///C|/Documents and Settings/1-N-O-NE/My Documents/mm_training.css" (local path) you'll need to change it to whatever structure you have on your web server (which is up to you). Personally I put all CSS files in a CSS folder so a path might look like: href="css/yourcssfile.css".

Be careful with the errors I mentioned about having divs inside list items - that sort of error might cause rendering issues - apart from which it's just incorrect!




505BC -> RE: Spry nav help (8/25/2007 17:15:16)

ok i transfer all the files that i need and i get a different error now. at least the color has change! the only thing i did was change the locations of the css files and other files to my domain, so it wouldnt look for my harddrive for the files and i get the same thing? did i miss something? thanks for you help! i just have to get over this hill andits butter! i hate dreamweaver!!




treetopsranch -> RE: Spry nav help (8/25/2007 22:18:05)

"http://www/505bc.com/css/mm_training.css"

Fix the above first. Your single slash after www should be a period and you still have files referencing your C: drive.

Just take a look at your code. You have many html spelling errors. ttp for instance should be http

If you are finding this difficult just buy a good book on HTML and study it.




505BC -> RE: Spry nav help (8/26/2007 3:39:46)

with those minor changes i still get nothing, and i do have a book and it didnt forcast this problem




Tailslide -> RE: Spry nav help (8/26/2007 13:13:40)

Check that you've uploaded the stylesheet and the script file for the menu to the right places as when I look where you say they are - they aren't there.




treetopsranch -> RE: Spry nav help (8/26/2007 14:15:00)

Tailslide: doesn't Dreamweaver's FTP window show both locations? Shouldn't he be able to see his web on his hard drive in one window and his server web on another window? It seems obvious to me that it should be easy to see if the files are in the correct directories on the web. Maybe I am missing something here but that should be the easy part for him to fix. Now if I am wrong about Dreamweaver's ftp window then I would recommend another FTP program.




Tailslide -> RE: Spry nav help (8/26/2007 14:36:03)


quote:

ORIGINAL: treetopsranch

Tailslide: doesn't Dreamweaver's FTP window show both locations?


I have no idea - never used DW!! Just trying to point out where the issues are ending up in the hope that he/she know the programme well enough to solve them that end.

I'd have thought DW's FTP would show both - most proper FTP programmes do but I guess that's no guarantee.




mar0364 -> RE: Spry nav help (8/30/2007 13:32:58)

When you created the Spry nav bar a new folder named "SpryAssets" should have been created. That folder and its content need to be published to the remote server. The folder contains the CSS and JS that control the menu.





505BC -> RE: Spry nav help (9/1/2007 2:24:34)

still nothing! i think im going to start over cuz its i check the pathways and files do exist!




d a v e -> RE: Spry nav help (9/1/2007 5:00:03)

are you defining a site in the site manager first before you do anything? once you have your first page saved everything should be automatically pointing in the right place.

you also have a lot of errors in that url as well and not even the html tag, never mind a doc type!!!

see attached/embedded image for how to view remote and local side by side ;)



[image]local://upfiles/5827/B1BE7762EC634B508926F04FDDA6ADF5.jpg[/image]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625