The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
It’s working very well but I should put it’s script after my html codes and I want to put it’s code inside head tags and when I call it, it works.
I think I should use (document) .ready but I don’t know how.
thank you in advance!
If you’re using standard js you can use body onload but I’d recommend putting it at the bottom of the page so it doesn’t slow page load.
Hope this helps!
But my pages flow is putting js scripts inside head and call them with a custom js file.
I really apperciate you If you could help me to doing what I want.
Use JQuery javscript libary and then you can use
//your code here
and much more cool functions.
Now, it’s working as I wanted.
Thanks amyth91 and Htmlmainiac !!!
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed