Runescape Bits & Bytes https://www.rsbandb.com/forums/ |
|
HTML Question https://www.rsbandb.com/forums/viewtopic.php?f=38&t=50590 |
Page 1 of 1 |
Author: | Jamie [ May 14th, 2007, 5:26 pm ] |
Post subject: | HTML Question |
Does anyone know of a good tutorial that teaches you to create rollover link boxes such as the ones here? |
Author: | Adbot [ May 14th, 2007, 5:26 pm ] |
Post subject: | Register and login to get these in-post ads to disappear |
Author: | Ranging God [ May 15th, 2007, 4:29 pm ] |
Post subject: | |
HTML for dummies You should be able to get it at ur library |
Author: | Jamie [ May 15th, 2007, 6:24 pm ] |
Post subject: | |
Edit: Does anyone know of a QUICK way, aka a tutorial somewhere on a site? |
Author: | Zac [ May 19th, 2007, 4:12 pm ] |
Post subject: | |
http://www.w3schools.com Go there and go to leran HTML and there you go. |
Author: | Mikhail [ May 19th, 2007, 4:17 pm ] |
Post subject: | |
Quote: <HEAD>
<STYLE TYPE="text/css"> <!-- a { color:insert color; text-decoration:none;} a:hover { color:insert color; text-decoration: underline; } --> </STYLE> </HEAD> This one should work. |
Author: | Jamie [ May 19th, 2007, 4:28 pm ] |
Post subject: | |
Xio wrote: www.w3schools.com
Go there and go to leran HTML and there you go. I already went to w3schools, it doesn't help very much. Beatles, that's just for changing the link color/decoration if you mouse over it, not creating a link box... |
Author: | Adbot [ May 19th, 2007, 4:28 pm ] |
Post subject: | Register and login to get these in-post ads to disappear |
Author: | Jaden [ May 19th, 2007, 9:11 pm ] |
Post subject: | |
The Beatles wrote: Quote: <HEAD> <STYLE TYPE="text/css"> <!-- a { color:insert color; text-decoration:none;} a:hover { color:insert color; text-decoration: underline; } --> </STYLE> </HEAD> This one should work. What if it's an image he wants to use, not text. Would it not be, a { img src="insert image"; text-decoration="none" } a:hover { img src="insert rollover image"; text-decoration="none" } ? |
Author: | Mikhail [ May 19th, 2007, 9:17 pm ] |
Post subject: | |
It might but not that I know of...I only know on how to do that in Javascript...But i wont reveal it. |
Author: | Chief Snake [ May 20th, 2007, 1:09 am ] |
Post subject: | |
That's done in JavaScript, but you can do it easily with CSS. Chief Snake wrote: <style type="text/css">
a.rollover { /* Sets the <a> class, "rollover". To identify things by this class, use <a href="#" class="rollover">Link Text (which will not be visible)</a> */ background: #FFF url('images/normalimage.png') no-repeat center; /* Where #FFF is the backup colour (in this case, white), for if the image link is broken. no-repeat makes the background not repeat itself (only displays once) and center is somewhat unnecessary but makes sure the background image is centred. This is a comment and does not make any difference to the rest of the code. */ text-indent: -2000px; /* Makes sure the text you put in the <a> tag is not visible. */ width: 100px; /* The width, in pixels, of the image you set in background. */ height: 100px; /* The height, in pixels, of the image you set in background. */ border: none; /* Not sure if this is necessary, but just in case... */ } a.rollover:hover { background: #999 url('images/hoverimage.png') no-repeat center; /* See comment above for info. */ border: none; /* We don't have to repeat what has already been written in a.rollover except for background to change it to the rollover image and [i]border[i] due to the default border style. */ } </style> Off hand, I think that's all you need to do, anyway. Took me ages to write with all those colours. ;D Just make sure you make the links like: <a href="http://somewhere.com/whatever.html" class="rollover">Some text here which will not be seen.</a> Or were you talking about the JavaScript menus at the top of the page under the banner? If you were I can't really help you there, I'm not much of a JavaScript guru. I wouldn't imagine they'd be hard to find out about through Google though. ![]() |
Author: | Jamie [ May 20th, 2007, 6:40 am ] |
Post subject: | |
Lol yea the menus were what I was talking about. Thanks though. |
Author: | EnglishPenguin [ May 31st, 2007, 10:30 am ] |
Post subject: | |
Dunno if you're still looking, but if you are, I suggest DynamicDrive.Com, it has it on there, I've seen it, and it's got a bunch of extra stuff as well. ![]() |
Author: | Matt [ May 31st, 2007, 10:59 am ] |
Post subject: | |
Shaun wrote: Dunno if you're still looking, but if you are, I suggest DynamicDrive.Com, it has it on there, I've seen it, and it's got a bunch of extra stuff as well.
![]() That's because that's where Mike and Shane got it. ![]() a direct link to the AnyLink Drop Down Menu being here: http://www.dynamicdrive.com/dynamicinde ... uindex.htm - Matt |
Page 1 of 1 | All times are UTC - 7 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |