PDA

View Full Version : website + links



Lucy Locket
5th-October-2006, 09:58 AM
I've added links onto my website but i've noticed nothing actually happens when you run the mouse over them.
I obviously need to make a link somewhere.
Can anyone tell me how please?:flower:

David Bailey
5th-October-2006, 10:20 AM
I've added links onto my website but i've noticed nothing actually happens when you run the mouse over them.
I obviously need to make a link somewhere.
Can anyone tell me how please?:flower:

Do your links not work at all when you try to click them, or do you want to do something clever when the cursor moves over them?

Actually, what's the site address?

El Salsero Gringo
5th-October-2006, 10:21 AM
You should put the following in the html of the page:


This is the text to appear as the link (http://www.cerocscotland.com/forum/www.whereyouwantthelinktogo.co.uk/any_pages_here.html)There are other additional options you can add, like to have the link open in a new window. Do a quick Google (tm) search for "href" "anchor" "syntax" or something like that and read up on it.

Edit: help! How do you stop vBulletin interpreting html?

straycat
5th-October-2006, 10:25 AM
Actually, what's the site address?

:yeah:
If you tell us where the site is, and what page you're having problems with, it's easier to advise you.

If the site is still in development, and offline, could you tell us what package you're using to edit it?

Lucy Locket
5th-October-2006, 12:39 PM
www.seksidancewear.com

I had a big crash a couple of weeks ago, problem at server end.:tears:

it's reverted back to the original setup, so i'm going through it again making the relevant changes.

Using Dreamweaver & WS_FTP95 to upload changes.

David Bailey
5th-October-2006, 12:51 PM
www.seksidancewear.com.
Most of the links work fine, are you referring to the links on the "links" page:
http://www.seksidancewear.com/shopcart/shop/links.php

?

If so, then it looks like for most of them, you just don't have the links put in (only the text) for the relevant items.

So instead of the form:
"< a href = "web link" > "link title" < / a >"
you've got the form:
"< div align="center" class="style2" > "link title" < /div> "

(this is very difficult to explain in vBulletin format :mad: )

Should only take a few mins to change - you've got all the information you need in the link title anyway.

straycat
5th-October-2006, 12:51 PM
Assuming you're talking about the links page...

You've not added them as links. You've just put the addresses in as text - you need to go back to DW and use it to turn 'em into links (I'm afraid I can't tell you the exact procedure in DW, as I don't use it)

straycat
5th-October-2006, 12:52 PM
Oh - and are you going to put any more mens' clothing on there?

Lucy Locket
5th-October-2006, 01:29 PM
Thanks guys, think i'm getting there now :clap:

straycat
5th-October-2006, 01:44 PM
Looking better....

A small suggestion - if you put:

target="_blank"

into the
<a ... > tag, you'll force each link to open a new window, instead of taking people away from your site.

EG:

<a href="http://amanteballo.com/" target="_blank">http://amanteballo.com</a>

Lucy Locket
5th-October-2006, 02:20 PM
WOW !! I did it.:clap:

David Bailey
5th-October-2006, 02:29 PM
Looking better....

A small suggestion - if you put:

target="_blank".
Hmm, I think that's poor practice personally - if you look back at the top 10 Web design mistakes of all time (http://www.useit.com/alertbox/9605.html), "opening a link as a new page" is there - to quote:


Designers open new browser windows on the theory that it keeps users on their site. But even disregarding the user-hostile message implied in taking over the user's machine, the strategy is self-defeating since it disables the Back button which is the normal way users return to previous sites. Users often don't notice that a new window has opened, especially if they are using a small monitor where the windows are maximized to fill up the screen. So a user who tries to return to the origin will be confused by a grayed out Back button.
But we're getting into web design rather than fixing bugs, I suspect LL's gone to sleep already... :)

straycat
5th-October-2006, 02:38 PM
One of those debatable ones. Personally, I don't like being taken away from a site when I click on a link. I want to keep a window or a tab at the old place. But maybe I'm odde.....

El Salsero Gringo
5th-October-2006, 02:52 PM
I'd say it was a matter of expectation, and people are now more used to having an off-site link open in a new window. I prefer it. Especially where some sites open with hundreds of redirects, flash movies, noises etc. My first instinct is to shut my eyes as I head for the close button. Having the old site underneath is a bonus in that case.

DavidY
6th-October-2006, 01:07 AM
Edit: help! How do you stop vBulletin interpreting html?Encapsulating something as
{Stuff you don't want interpreting}
will stop vBulletin interpreting its own commands. I guess it may work for HTML as well?
(I don't know enough HTML myself to test it :blush: )

El Salsero Gringo
6th-October-2006, 01:13 AM
Encapsulating something as
{Stuff you don't want interpreting}
will stop vBulletin interpreting its own commands. I guess it may work for HTML as well?
(I don't know enough HTML myself to test it :blush: )let's see....

<a href="mywebsite.com/mypage.html">This is my link</a>

Yep, that seems to work - thanks!

straycat
6th-October-2006, 09:09 AM
You can also put [HTML] tags around it for a more dramatic presentation option...

Flat_Eric
6th-October-2006, 11:26 AM
Nice design. Is that a Mambo / Joomla + Virtuemart base?

El Salsero Gringo
6th-October-2006, 11:42 AM
You can also put [html] tags around it for a more dramatic presentation option...let's try that too:


<a href="http://www.mysite.com/mypage.html">This is my link</a>


Groovy!

ducasi
7th-October-2006, 01:21 AM
One of those debatable ones. Personally, I don't like being taken away from a site when I click on a link. I want to keep a window or a tab at the old place. But maybe I'm odde.....
I like having a choice – if I want the link to open in a new window, I can hold down a key and click my middle mouse button.

I usually want these "elsewhere" links to open in a new tab though – middle mouse button again, no extra keys to hold down...

I have no way of opening a link that wants to open a new window in the same window and same tab. That annoys me greatly.

One of these days I'm going to add to my Privoxy rules one to match and remove the text 'target="?_blank"?' (sorry for using regular expressions, but we're in the Geek's corner...)

ducasi
7th-October-2006, 01:25 AM
Assuming you're talking about the links page...

You've not added them as links. You've just put the addresses in as text - you need to go back to DW and use it to turn 'em into links (I'm afraid I can't tell you the exact procedure in DW, as I don't use it)
In Dreamweaver, you select the text and type the link into the 'Link' field on the "properties" window. That turns it into a link.

Lucy Locket
10th-October-2006, 09:47 AM
It has been interesting reading all your posts even if they don't make sense to me:what:

bigdjiver
10th-October-2006, 10:25 AM
Hmm, I think that's poor practice personally - if you look back at the top 10 Web design mistakes of all time (http://www.useit.com/alertbox/9605.html), "opening a link as a new page" is there ...I think there might be a reason why its called "Windows" rather than "New screens".

straycat
10th-October-2006, 10:39 AM
I think there might be a reason why its called "Windows" rather than "New screens".

The name 'Windows' represents the way the system gives you multiple inspirational viewpoints ono the respective beauties of your work, the world outside (the web) and your personal life, lightening your soul with the radiance of each, and expanding your worldview to bring you to the ultimate goal of personal and universal enlightenment. In the context of such extraordinary vision and life-changing potential, surely we should be expanding our vision to encompass the glories of the new and the old together, rather than denying our pasts and lessening our state of universal consciousness?

bigdjiver
10th-October-2006, 11:04 AM
The name 'Windows' represents the way the system gives you multiple inspirational viewpoints ono the respective beauties of your work, the world outside (the web) and your personal life, lightening your soul with the radiance of each, and expanding your worldview to bring you to the ultimate goal of personal and universal enlightenment. In the context of such extraordinary vision and life-changing potential, surely we should be expanding our vision to encompass the glories of the new and the old together, rather than denying our pasts and lessening our state of universal consciousness?:devil: I'll have some of what you're taking.

David Bailey
10th-October-2006, 11:13 AM
blah 'Windows' blah
Me too, I could do with some good drugs :)

straycat
10th-October-2006, 11:39 AM
Me too, I could do with some good drugs :)

It's called Sleep Deprivation. It's dead cheap, and you can get it anywhere...

David Bailey
10th-October-2006, 12:55 PM
It's called Sleep Deprivation. It's dead cheap, and you can get it anywhere...
Uh-huh. I've had it for 5 years now...

killingtime
12th-October-2006, 04:27 PM
I like having a choice – if I want the link to open in a new window, I can hold down a key and click my middle mouse button.

Likewise, middle mouse button opens a new tab with the link in in Firefox. Actually the 2.0 behaviour is to open any _blank or _new targets as a new tab as well. Which is nice. The thing I really hate is javascript links that don't open anything when you do this (because they use some javascript popup function or something :mad: ).


WOW !! I did it.:clap:

Cool. Just as a side point you've got the hyperlink text as the displayed text. You can put anything you like in that like I can say this is a link to my blog (http://wayofthedance.blogspot.com/). In the same way you could do something like
<a href="http://www.cerocscotland.com/">Ceroc Scotland's Website</a> which would look something like Ceroc Scotland's Website (http://www.cerocscotland.com/).

Listener
22nd-October-2006, 01:21 PM
Of course with the advent of tabbed browing a la Firefox (http://www.mozilla.org/projects/firefox/) the new/same window debate is less important although I prefer the keep everything in same window practice.

Re the original question (which seems fixed) you can also make links change colour when you hover over them or change colour once you have clicked them once (although I don't like that myself). Not sure how you do this in Dreamweaver (I tend to code in html direct but only do simplish stuff) but its worth considering for the design of your website.