24, July 2008

How do i code this? - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  CSS (Moderator: Meth0d)
Topic: How do i code this?
« previous next »
Pages: [1] Print

Author Topic: How do i code this?  (Read 1084 times)
Der Führer
I feel pretty...
***
Gender: Male
Posts: 183
471 credits
Members referred : 0



« on: Jun 13, 2006, 05:49:39 AM »

Ok I don't know much about Javascript. What i am trying to do is make a line of wording switch when you hover it, and have it where i can code them seperatly with html.
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jun 13, 2006, 09:21:13 AM »

do you know a site with this feature?


Last blog : 4th of July Lottery from TemplateMonster.com
Der Führer
I feel pretty...
***
Gender: Male
Posts: 183
471 credits
Members referred : 0



« Reply #2 on: Jun 13, 2006, 09:23:31 AM »

no im actually trying to make something new. i have not seen it done before.
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Jun 13, 2006, 09:25:30 AM »

no im actually trying to make something new. i have not seen it done before.
than you have to describe it a little bit more Wink
but sounds like this: http://www.squarefree.com/htmledit/ Visit through proxy


Last blog : 4th of July Lottery from TemplateMonster.com
Der Führer
I feel pretty...
***
Gender: Male
Posts: 183
471 credits
Members referred : 0



« Reply #4 on: Jun 13, 2006, 09:34:56 AM »

Aight, I didn't want to come out and say what im trying to do but if I can figure it out I'm sure other can... what I am trying to do is what this website has done with its nav bar. http://www.2dollarhost.net Visit through proxy    I don't want it exactly like that though. See what i am trying to do is make it where a link is, for example, white. When you hover over this white it stay white and has an underline. I know what your thinking... use css!... well no, what I want to do is color the unline only... much like 2dollarhost did with the strikeout. What I thought was use a javascript as a rollover swap. Code the java script to swap the code... like below
Code:
<font face="Verdana" size="1" color="#FFFFFF"><u><a href="">About Us</a></u></font>
if I do it this way it will have an underline all the time. So if i use a js to swap it I could do this...
Code:
<font face="Verdana" size="1" color="#FFFFFF"><a href="">About Us</a></font>
on rollover or w/e switch to
<font face="Verdana" size="1" color="#FFFFFF"><u><a href="">About Us</a></u></font>

thats what I was thinking.
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Jun 13, 2006, 09:48:33 AM »

its still a case for CSS...you can swap images with CSS or just use the border element in place of the underline...


Last blog : 4th of July Lottery from TemplateMonster.com
Der Führer
I feel pretty...
***
Gender: Male
Posts: 183
471 credits
Members referred : 0



« Reply #6 on: Jun 13, 2006, 10:06:04 AM »

im not useing images im trying to keep it text based and how would i use the boarder?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Jun 13, 2006, 10:52:18 AM »

the CSS:

Code:
<style type="text/css">
a {
text-decoration:none;
}
a:hover {
border-bottom:1px dotted #FF0000;
}
</style>

this is very basic! you should read the beginner tutorials, to ask here everytime is to easy:

start learning here: http://www.w3schools.com/css/default.asp Visit through proxy


Last blog : 4th of July Lottery from TemplateMonster.com
Der Führer
I feel pretty...
***
Gender: Male
Posts: 183
471 credits
Members referred : 0



« Reply #8 on: Jun 13, 2006, 11:01:08 AM »

hmm... I didn't even think to use the border  Sad

Thanks.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2849
Tags : javascript css html tutorials java Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  CSS (Moderator: Meth0d)
Topic: How do i code this?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 24, 2008, 11:28:10 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.717
Total Topics: 7.379
Total Members: 3.710
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: prolist

46 Guests, 3 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.