![]() |
jquery buffs, question for you
whats the difference between the first function and the 2nd.
Code:
jQuery(document).ready(function($) { |
I could tell you, but then....
|
top one rewrites <a href="#HASHTAG"> as <a href=" " name="HASHTAG">
while bottom only can see <a href="#HASHTAG"> Probably so the object anchor can be used in another function that is looking for the name tag name=NAMED_ANCHOR |
Quote:
<a href="#1-section-one">1. section one</a> then when you click that. it goes too <h3 id="1-section-one">1. section one</h3> |
All times are GMT -7. The time now is 08:30 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123