Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Author Message
 Post subject: HTML Question
PostPosted: May 14th, 2007, 5:26 pm 
Dragon Member
User avatar
Offline

Joined: November 25th, 2005, 6:49 pm
Posts: 1034
Location: California us
RS Name: Sky Jace
RS Status: P2P
Does anyone know of a good tutorial that teaches you to create rollover link boxes such as the ones here?

_________________
Image
Image
Dragon Member #90


Top
 Profile  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: May 14th, 2007, 5:26 pm 
Dragon Member

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject:
PostPosted: May 15th, 2007, 4:29 pm 
Rsbandb Donor
Offline

Joined: October 16th, 2005, 3:14 pm
Posts: 4731
Location: Kasnas City us
RS Name: Azek
RS Status: P2P
HTML for dummies

You should be able to get it at ur library

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: May 15th, 2007, 6:24 pm 
Dragon Member
User avatar
Offline

Joined: November 25th, 2005, 6:49 pm
Posts: 1034
Location: California us
RS Name: Sky Jace
RS Status: P2P
Edit: Does anyone know of a QUICK way, aka a tutorial somewhere on a site?

_________________
Image
Image
Dragon Member #90


Top
 Profile  
 
 Post subject:
PostPosted: May 19th, 2007, 4:12 pm 
Runite Member
Offline

Joined: December 27th, 2006, 4:14 pm
Posts: 562
Location: USA us
RS Name: Eynx
RS Status: P2P
Clan Name: Pierce The Sky
http://www.w3schools.com
Go there and go to leran HTML and there you go.

_________________
Image
| Quest Cape Owner |


Top
 Profile  
 
 Post subject:
PostPosted: May 19th, 2007, 4:17 pm 
Rsbandb Donor
User avatar
Offline

Joined: April 10th, 2006, 10:27 pm
Posts: 1594 ua
RS Name: Teh Wabbit1
RS Status: Classic
Clan Name: None
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.

_________________
Image


68th Dragon member as of November 02, 2007 11:08 PM


Top
 Profile  
 
 Post subject:
PostPosted: May 19th, 2007, 4:28 pm 
Dragon Member
User avatar
Offline

Joined: November 25th, 2005, 6:49 pm
Posts: 1034
Location: California us
RS Name: Sky Jace
RS Status: P2P
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...

_________________
Image
Image
Dragon Member #90


Top
 Profile  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: May 19th, 2007, 4:28 pm 
Dragon Member

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject:
PostPosted: May 19th, 2007, 9:11 pm 
Rsbandb Donor
Offline

Joined: January 5th, 2006, 11:18 pm
Posts: 1521
Location: Canada ca
RS Name: Jadchor
RS Status: P2P
Clan Name: The Order of War
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" }

?

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: May 19th, 2007, 9:17 pm 
Rsbandb Donor
User avatar
Offline

Joined: April 10th, 2006, 10:27 pm
Posts: 1594 ua
RS Name: Teh Wabbit1
RS Status: Classic
Clan Name: None
It might but not that I know of...I only know on how to do that in Javascript...But i wont reveal it.

_________________
Image


68th Dragon member as of November 02, 2007 11:08 PM


Top
 Profile  
 
 Post subject:
PostPosted: May 20th, 2007, 1:09 am 
Rsbandb Donor
Offline

Joined: October 25th, 2004, 10:12 pm
Posts: 3055
Location: New Zealand nz
RS Name: Chief. Snake
RS Status: Retired
Clan Name: Bits and Bytes
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. :wink:

_________________


Top
 Profile  
 
 Post subject:
PostPosted: May 20th, 2007, 6:40 am 
Dragon Member
User avatar
Offline

Joined: November 25th, 2005, 6:49 pm
Posts: 1034
Location: California us
RS Name: Sky Jace
RS Status: P2P
Lol yea the menus were what I was talking about. Thanks though.

_________________
Image
Image
Dragon Member #90


Top
 Profile  
 
 Post subject:
PostPosted: May 31st, 2007, 10:30 am 
Rsbandb Donor
Offline

Joined: May 18th, 2005, 7:45 am
Posts: 1042 england
RS Name: Bee_Keeper0
RS Status: Classic
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. ;) .

_________________
Sure.


Top
 Profile  
 
 Post subject:
PostPosted: May 31st, 2007, 10:59 am 
Rsbandb Donor
User avatar
Offline

Joined: March 16th, 2005, 3:25 pm
Posts: 424
Location: Droppin' the fish off at the pool.
RS Name: Canard
RS Status: P2P
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. :P

a direct link to the AnyLink Drop Down Menu being here: http://www.dynamicdrive.com/dynamicinde ... uindex.htm

- Matt

_________________


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies. Forum Index » Off-Topic » Non-RuneScape Discussion » Tech Talk » HTML Question Page 1 of 1 [ 12 posts ]

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to: