Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function()
- {
- var strats = document.getElementsByClassName("picture");
- for(var i = 0; i < strats.length; i++)
- {
- if(strats.item(i).id)
- {
- $('#' + strats.item(i).id).click(function()
- {
- alert("something");
- //document.getElementById('stratframe').src = "index.php?mapname=" + strats.item(i).id;
- });
- };
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement