Board Logo

Removing Link Underline
ve6tp - 5/18/2005 at 01:36 AM

Hi:

With the help of Rock, I have my tagra scroller working almost the way I want it and it works fine on both I.E. and Netscape 7.2.

The final touch-up I would like to do is to remove the line that appears under a link.

Usually, the code

<style>
a{text-decoration:none}
//-->
</style>

can be placed at the top of any .htm page and this does the job for both browsers. But I can't figure out if this wil work on an item I have set to activate a link when clicked on the scroller.

Can anyone tell me, can this be done and if so, how??

ve6tp


rock - 5/18/2005 at 01:46 PM

define the anchor's style in the appropriate scrollN.css (N - index of your scroller).


ve6tp - 5/18/2005 at 05:52 PM

Hi Rock:

Thanks for your help. I understand what you are saying, I know the file you have said to place the code into, but ....

I'm not experienced enough with this type of codinig. Could you please show me the code I would place in the folder to stop the underline?

I''m sorry to be such a bother, but this would be all I need to complete my scroller.

Thanks again,
ve6tp


rock - 5/19/2005 at 09:51 AM

E.g. scroll0.css:

Code:

/* scroller background: iframe BODY object */
.Back {
background: white;
}
/* style to be applyed to all items' bodies - DIV
all local stylesheets of external files if any are to be ignored
*/
.ItemBody {
font-family: Verdana;
font-size: 11px;
padding: 5px;
}
a {
text-decoration:none
}


jimbonics - 5/19/2005 at 09:49 PM

Adding to this...

in your respective .css sheets..

a.classname:link {text-decoration: none}
a.classname:visited {text-decoration: none}
a.classname:hover {text-decoration: underline}

Then, in your html sheet.. add class="classname" in your <a href> tags. (<a href="http://www.site.com" class="classname">)

This will keep all links NOT underlined until you point at (hover over) one.

jim


ve6tp - 5/20/2005 at 02:28 AM

Hi Jim

I'm just geting in deeper and deeper, and you guys must be running out of patience with me. You and Rock have really tried to help me out and give me a bit of an education.

I'm sorry, but this didn't work for me either. But I'm quite sure it is becasue of me. Again, I don't have any experience or knowledge with script and I have proably coded it all wrong.

If you could just give me a bit more of your patience and show me exactly how this is entered on the (in my case) scroll0.css page. I'm sure I just haven't coded it properly. This is how I have entered it:

/* style to be applyed to all items' bodies - DIV
all local stylesheets of external files if any are to be ignored */
.ItemBody {
font-family: Verdana;
font-size:11px;
padding: 5px;
text-align: justify;
}
a {
text-decoration:none
a.classname:link {text-decoration: none}
a.classname:visited {text-decoration: none}
a.classname:hover {text-decoration: underline}
}


;

And just to be on the safe side, this is how I have my HTML now: <a href="tap-1.htm" target="_top" class="classname"> <img src="Rotte afghan-1.jpg"></a>

I'm sorry to be so much trouble for everyone.

ve6tp


rock - 5/20/2005 at 06:33 AM

Ok, Let's start from the beginning. Post here in the topic your page with all scroller related files (zipped).


ve6tp - 5/20/2005 at 09:11 AM

Rock .... thanks

OK, I've attached the zip file.

I'm not taking any chances on missing any file in the zip, so I've simply zipped the entire package.

The file 1.htm will be the best one to open up and show you the link underline. This uses scroll (1)

Then the file football.htm uses scroll (0)

I hope this is OK with you. Again, thanks a million ....

ve6tp


rock - 5/20/2005 at 10:08 AM

I can't see attachment in your post


ve6tp - 5/20/2005 at 04:31 PM

Did this come through?

I clicked "reply" to your post. At the bottom of the reply form is "Attachment" with a browser. Found the zipped file and it shows in the browser's window. Then clilcked post. Did I do that wrong too?


ve6tp - 5/20/2005 at 07:07 PM

Rock please try this

http://members.shaw.ca/webspanner/d-l/dl.htm


rock - 5/23/2005 at 04:53 PM

Can't see any scroller related content or zip or something. Please refer to our Customer Care System, submit ticket with required files attached.


ve6tp - 5/25/2005 at 03:09 AM

Hi Rock:

I think you have wasted enough time with my coding problems. It is not the fault of your scroller program. I think you have an excellent program with Tigra Scroller.

Best you forget this problem of mine Rock, I'll let you get on with life. But I sure appreciate all the time and effort you put into trying to help me. I will continue to work on it and eventually I will find where I went wrong. Gotta be something small.

I guess, one question I do have for you though Rock.

After clicking on an image "href" and viewing that page, when you return to the scroller, you always have to start at the beginning of the scroller again. Is there any way it can be set so that when you return, the scrolled position is still there, from where you left it??

My best regards,
ve6tp


jimbonics - 5/27/2005 at 04:26 PM

only if you put the scroller in a frame...

but ewwwww frames.


jimbonics - 5/27/2005 at 04:28 PM

Oh and you nearly had the .css correct.

Instead of this...
a {
text-decoration:none
a.classname:link {text-decoration: none}
a.classname:visited {text-decoration: none}
a.classname:hover {text-decoration: underline}
}

just do

a.classname:link {text-decoration: none}
a.classname:visited {text-decoration: none}
a.classname:hover {text-decoration: underline}


ve6tp - 5/27/2005 at 06:06 PM

jimbonics:

Thank you for your help. I have managed to resolve my problem and all is workinig fine. And thanks for the answer regarding holdinig the last looked at position. It's not that imiportant, but would have beern a nice feature. Maybe Rock will conosider that if he implements any changes to the program. It is a great scroller.

By the way, you must have looked at the temp site I put up. When you sent a personal e-mail, you clilcked on the wrong area. You sent the mail lto my client ..... No problem, I explained things and it was an honest mistake and a generous offer of assistance. Thank you.

ve6tp


jimbonics - 6/3/2005 at 03:38 PM

whoopsie! that's what I get for assuming! sorry!

jim


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/