Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
A Little Help Needed...
Old 07-09-2007, 07:27 PM A Little Help Needed...
Average Talker

Posts: 26
Trades: 0
I am creating a site by using CSS. I have 3 Main pages, we will call them HOME, PAGE 1, and PAGE 2. I have an image that I created with those 3 names on it. I want to add 3 hotspots (image maps) or links to this picture that when you click on the word...you will go to that page (Either Home, Page 1, or Page 2).

If the image is in the CSS file that looks something like this...

PHP Code:
#navigation {
width:987px;
background-image:url('Navigation Banner.png');
height:196px;

...and many pages use this same CSS file and they all have the same Navigation Banner, how would I get all of the words on the image to link to the correct pages?

Last edited by Brautigam; 07-09-2007 at 07:28 PM..
Brautigam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-09-2007, 07:56 PM Re: A Little Help Needed...
johnncyber's Avatar
Extreme Talker

Posts: 216
Trades: 0
Image based links are bad for a lot of reasons (and image maps are even worse). I would recommend placing text links over an image background (using absolute positioning) or if they have to be image links, sliced up images.

Let me know if you need some examples.
__________________
~Mark Romero
-Co Founder | Tech Guru,
Please login or register to view this content. Registration is FREE

-FireFox Advocate,
Please login or register to view this content. Registration is FREE
johnncyber is offline
Reply With Quote
View Public Profile Visit johnncyber's homepage!
 
Old 07-09-2007, 08:48 PM Re: A Little Help Needed...
Average Talker

Posts: 26
Trades: 0
Quote:
Originally Posted by johnncyber View Post
Image based links are bad for a lot of reasons (and image maps are even worse). I would recommend placing text links over an image background (using absolute positioning) or if they have to be image links, sliced up images.

Let me know if you need some examples.
I know what you are saying about sliced up images, and make each part of the image a different link. I would rather just make a top logo and then under that put some kind of CSS navigational bar, like one of those simple ones that changes colors and moves a little when you put your mouse over it.

BTW I looked into making image maps in CSS and it was just way too confusing. I think I will just do what I stated above. Thanks for the response.
Brautigam is offline
Reply With Quote
View Public Profile
 
Old 07-09-2007, 09:40 PM Re: A Little Help Needed...
johnncyber's Avatar
Extreme Talker

Posts: 216
Trades: 0
So you have decided to not go with links on top of the image?
__________________
~Mark Romero
-Co Founder | Tech Guru,
Please login or register to view this content. Registration is FREE

-FireFox Advocate,
Please login or register to view this content. Registration is FREE
johnncyber is offline
Reply With Quote
View Public Profile Visit johnncyber's homepage!
 
Old 07-09-2007, 09:43 PM Re: A Little Help Needed...
Average Talker

Posts: 26
Trades: 0
Quote:
Originally Posted by johnncyber View Post
So you have decided to not go with links on top of the image?
Yeah I'm just going to put an image on the CSS file which I already have up, then I will just put a navigation bar under that or on the left side of the page.
Brautigam is offline
Reply With Quote
View Public Profile
 
Old 07-10-2007, 01:49 AM Re: A Little Help Needed...
johnncyber's Avatar
Extreme Talker

Posts: 216
Trades: 0
Cool, just wanted to clarfiy. Well have fun and happy coding.
__________________
~Mark Romero
-Co Founder | Tech Guru,
Please login or register to view this content. Registration is FREE

-FireFox Advocate,
Please login or register to view this content. Registration is FREE
johnncyber is offline
Reply With Quote
View Public Profile Visit johnncyber's homepage!
 
Old 07-10-2007, 01:57 AM Re: A Little Help Needed...
Average Talker

Posts: 26
Trades: 0
Quote:
Originally Posted by johnncyber View Post
Cool, just wanted to clarfiy. Well have fun and happy coding.
Yeah I actually decided to go along with the image map but only in HTML...not in CSS that would just be too tough. It is simple to do in HTML since it is just likes making a box for where you want the link to be by using Frontpage. No coordinates or anything bad, so it's cool.
Brautigam is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to A Little Help Needed...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29051 seconds with 12 queries