image
image

|


Go Back   macosx.com > Design, Media, Programming & Scripting > Design & Media

Reply
 
Thread Tools
  #1  
Old April 9th, 2007, 01:43 PM
zynizen's Avatar
Registered User
 
Join Date: Sep 2006
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
zynizen is on a distinguished road
Question how do you create nav with div tags in CSS

I have a site designed, and put together in dreamweaver.

the images are placed, I have a navigation set of images, and an area i want to use for content.

My question is, when you have an image placed in the layout, how do you link to a layer to preview its contents instead of creating an old iframe code.

So, to clarify, I have 4 images on the bottom of my layout, that I want to use as links to different sections of the site. I want these links to point to their respective pages, but I do not want to put an "iframe" in the top table data, because iframe's are old and not very efficient. I was thinkin of using layers to do this and just show the layer on the screen.

thanks for your help. I also have a subscription to lynda.com but couldn't find any of the tut's useful enough to specifically show how to do this, aswell as other websites.

Last edited by zynizen; April 9th, 2007 at 01:47 PM. Reason: update
Reply With Quote
  #2  
Old April 9th, 2007, 06:45 PM
justG's Avatar
Registered User
 
Join Date: Mar 2007
Location: Orlando, FL, US
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
justG is on a distinguished road
What you want to do is to use JavaScript to show/hide a <div> when you click on a menu option. I put together a wee site to illustrate this ages ago; please feel free to view its source and see how it was done:

http://gitagrrl.com/g/

Hope that helps.
Reply With Quote
  #3  
Old April 10th, 2007, 10:57 AM
zynizen's Avatar
Registered User
 
Join Date: Sep 2006
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
zynizen is on a distinguished road
thanks, that helps, but your pages dont let you scroll after you've clicked other links in the menu. But I figure i'll stick to iframe's even though they are old, they work well, and its for something small anyway so.

Thanks
Reply With Quote
  #4  
Old April 10th, 2007, 05:12 PM
justG's Avatar
Registered User
 
Join Date: Mar 2007
Location: Orlando, FL, US
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
justG is on a distinguished road
That's odd. I've tried it on IE and Firefox on Windows, and Safari, Camino and OmniWeb on OS X, and have no trouble with scrolling at all. In any case, it was a wee project authored years ago, so I wasn't all too concerned with cross-browser and -platform compatibility; I just thought it might be a good starting point for you to do what you wanted. Sorry I couldn't be more helpful and good luck with your project. =)
Reply With Quote
  #5  
Old April 11th, 2007, 12:59 AM
zynizen's Avatar
Registered User
 
Join Date: Sep 2006
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
zynizen is on a distinguished road
Thanks a lot though! =)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 08:19 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.