28, May 2012

How do i code this? - webmaster forum

 
Webdigity webmaster forums
[ 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
Instabuck - The easy way to sell digital products online

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



« on: Jun 13, 2006, 04: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: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jun 13, 2006, 08:21:13 am »

do you know a site with this feature?

Der Führer
I feel pretty...
***
Gender: Male
Posts: 184
481 credits
Members referred : 0



« Reply #2 on: Jun 13, 2006, 08: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: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Jun 13, 2006, 08: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/

Der Führer
I feel pretty...
***
Gender: Male
Posts: 184
481 credits
Members referred : 0



« Reply #4 on: Jun 13, 2006, 08: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    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: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Jun 13, 2006, 08: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...

Der Führer
I feel pretty...
***
Gender: Male
Posts: 184
481 credits
Members referred : 0



« Reply #6 on: Jun 13, 2006, 09: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: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Jun 13, 2006, 09: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

Der Führer
I feel pretty...
***
Gender: Male
Posts: 184
481 credits
Members referred : 0



« Reply #8 on: Jun 13, 2006, 10: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....

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?
May 28, 2012, 01:07:16 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!






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