August 13th, 2012, 02:37 PM
How to make these links clickable using the <a> tag?
In a url (http://www.smoothdivscroll.com/lab.html) I find around line 73-75 this piece of code:
<span id="startAutoScrolling">START</span> |
<fieldset style="margin-top: 15px;">
<legend>Set auto scrolling direction</legend>
<span class="autoScrollingDirection" id="right">right</span> |
<span class="autoScrollingDirection" id="left">left</span> |
<span class="autoScrollingDirection" id="backandforth">backandforth</span>
I would like to change the code so I can make three clickable links using the <a> tag around
<span class="autoScrollingDirection" id="right">right</span>
The strange thing is that in the url mentioned above "right", "left" and "backandforth" are clickable. But if I copy the code they are not clickable anymore.
Can anyone help?
Last edited by kippie; August 13th, 2012 at 02:43 PM.
August 13th, 2012, 04:19 PM
Just because you can make pretty much any element clickable, doesn't mean that you should. Links and buttons are the proper elements for such a user interaction.
If you're using jQuery already, I recommend jCarousel Lite.
Last edited by Kravvitz; August 13th, 2012 at 04:23 PM.
October 3rd, 2012, 03:01 AM
Happy to see your helpful reply because also I have that kind of problem.Well you have shared much important thing and it will help to many other people.
Originally Posted by Kravvitz
Last edited by Kravvitz; October 3rd, 2012 at 03:38 AM.
Reason: fixed the quote tags