Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Support
  • InvisionFree and Zetaboards Support
  • [ZB] Javascript Latest Posts doesnt work on Internet Explorer
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
[ZB] Javascript Latest Posts doesnt work on Internet Explorer; Help?
Tweet Topic Started: Oct 25 2010, 07:21 PM (367 Views)
T R Hell Boy Oct 25 2010, 07:21 PM Post #1


Posts:
1
Group:
Member
Member
#3,998
Joined:
Oct 25, 2010
Coding language
HTML/CSS
Referred by:
Google
Hello, I made a skin for a forum with a java script 'Latest Posts', and forum tests worked correctly on IE anf FF, but when I put in the main forum, work only on FF but not in IE, could someone help?

Test Forum:
http://s7.zetaboards.com/trhellboy/index/

Test Forum Skin Preview:
http://clip2net.com/clip/m41936/1288052638-clip-96kb.jpg

Main Forum:
http://s4.zetaboards.com/BS_RS/index
is not with the skin yet...

Main Forum Skin Preview:
http://clip2net.com/page/m41936/8691564

Code:
Admin CP→ Board Template→ Edit Board Template
Javascripts:
Code:
 
<script type="text/javascript">
if(location.href.match("/index/")){
$.get(main_url+"site/",function(data){
$("#main").before("<div id='portal'>"+$("div.portal_box h2:contains(Latest Posts)",data).parent().html()+"</div>");
$("#portal h4").each(function(){
$(this).append("<span style='float:right'><a href='"+$(this).next().children("a").attr("href")+"'>"+$(this).next().children("a").text()+"</a></span>");
$(this).next().remove();
});
});
}
</script>


The error isnt in the Theme Layout cuz previewing the defaut theme the same thing happens, the test forum works, the main does not

Please help me, i worked hard on that skin, what should I do?

Thanks,
T R Hell Boy


Solved (just added a random tag after <div id="wrap"> on theme layout

Edited by T R Hell Boy, Oct 26 2010, 05:21 PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · InvisionFree and Zetaboards Support · Next Topic »
Locked Topic

Track Topic · E-mail Topic Time: 3:36 AM Jul 11
Hosted for free by ZetaBoards · Privacy Policy