|
PMB30
|
Nov 22 2013, 08:31 AM
Post #1
|
- Posts:
- 132
- Group:
- Members
- Member
- #61,656
- Joined:
- July 19, 2005
- My Board URL
- http://s9.zetaboards.com/MRW_Forums
|
Board Address: http://s9.zetaboards.com/MRW_Forums/index/ Board Software: ZetaBoards Description: I have just installed the BlueLine Mobile theme which is brilliant as our members have been requesting a compatible mobile theme for a while. However to get it working I've had to remove the following coding. Could anyone advise how I put the coding into the existing default theme please?
Above
- Quote:
-
<script type="text/javascript"> //////////////////////////////////// // Inbox Flasher 1.0 // // By Choco of ZB Support // // June 4th, 2008 // ///////////////////////////////////
color = []; interval = 300; //Flash rate in milliseconds color[0] = "white"; //Color one color[1] = "red"; //Color two -- script flashes between these two
l=0;function flash() {z=$("#menu_pm a")[0];$(z).css("color",color[l]);l=(0-l)+1;} $(function(){$("#menu_pm a").each(function() {x=$(this).html();if(x.match(/small\>(\d+)</gi)) {y=RegExp.$1;if(y>0){q=setInterval("flash()",interval);$(this).attr("id","flash");}}});}); </script>
Below
- Quote:
-
<script type="text/javascript" > /* Display Image Uploads as Thumbnails Created by Nicolas of Zathyus Networks */ $(function () { var thumbstyle = "margin-top: 2px; max-width: 480px; max-height: 640px;" var iconimg = '<img alt="Attachment:" src="http://z3.ifrm.com/static/1/attach.png"/>' $("dl.c_post-attachment a[href$=.apng], dl.c_post-attachment a[href$=.ico], dl.c_post-attachment a[href$=.bmp], dl.c_post-attachment a[href$=.gif], dl.c_post-attachment a[href$=.png], dl.c_post-attachment a[href$=.jpg], dl.c_post-attachment a[href$=.jpeg]").each(function () { var image = $(this).attr('href'); $(this).html(iconimg+'<img src="' + image + '" style="'+thumbstyle+'" title="Uploaded Image" alt="Uploaded Image" />'); }); }); </script>
<script type="text/javascript" > /* Coded by Nicolas of ZNR and HNZ */ /* <![CDATA[ */ function newmarker(forumid,newposts,nonew) { $(".c_forum strong a[href*="+forumid+"]").closest('td').prev().children('img').attr('src',nonew); $(".c_forum strong a[href*="+forumid+"]").closest('td').prev().children('a').children('img').attr('src',newposts); } newmarker('3002683/' , 'http://www.miniaturerailwayworld.co.uk/images/mrwngnew.jpg' , 'http://www.miniaturerailwayworld.co.uk/images/mrwngold.jpg'); newmarker('3002585/' , 'http://www.miniaturerailwayworld.co.uk/images/mrw725new.jpg' , 'http://www.miniaturerailwayworld.co.uk/images/mrw725old.jpg'); newmarker('3002587/','http://www.miniaturerailwayworld.co.uk/images/mrw1025new.jpg','http://www.miniaturerailwayworld.co.uk/images/mrw1025old.jpg'); newmarker('3009461/','http://www.miniaturerailwayworld.co.uk/images/mrweventsnew.jpg','http://www.miniaturerailwayworld.co.uk/images/mrweventsold.jpg'); newmarker('2752/','http://www.miniaturerailwayworld.co.uk/images/mrwconstructionnew.jpg','http://www.miniaturerailwayworld.co.uk/images/mrwconstructionold.jpg'); newmarker('2751/','http://www.miniaturerailwayworld.co.uk/images/mrwmodellingnew.jpg','http://www.miniaturerailwayworld.co.uk/images/mrwmodellingold.jpg'); newmarker('2749/','http://www.miniaturerailwayworld.co.uk/images/mrwsalenew.jpg','http://www.miniaturerailwayworld.co.uk/images/mrwsaleold.jpg'); newmarker('2750/','http://www.miniaturerailwayworld.co.uk/images/mrwsalenew.jpg','http://www.miniaturerailwayworld.co.uk/images/mrwsaleold.jpg'); newmarker('2735/','http://www.miniaturerailwayworld.co.uk/images/mrwnewsnew.jpg','http://www.miniaturerailwayworld.co.uk/images/mrwnewsold.jpg'); newmarker('2754/','http://www.miniaturerailwayworld.co.uk/images/mrwmrmtnew.jpg','http://www.miniaturerailwayworld.co.uk/images/mrwmrmtold.jpg'); newmarker('2755/','http://www.miniaturerailwayworld.co.uk/images/mrwfriendsnew.jpg','http://www.miniaturerailwayworld.co.uk/images/mrwfriendsold.jpg'); newmarker('2723/' , 'http://www.miniaturerailwayworld.co.uk/images/mrwintronew.jpg' , 'http://www.miniaturerailwayworld.co.uk/images/mrwintroold.jpg'); /* ]]> */ </script> <script type="text/javascript"> if ($.zb.logged_in === true) { $('tr.c_info').hide(); $('div[id*="cat"] td.c_mark, td.c_forum').removeAttr('rowspan'); $('td.c_subforum').attr('colspan', '2'); } </script> <script type="text/javascript"> if ($.zb.logged_in === false) { $('tr.c_info').hide(); $('div[id*="cat"] td.c_mark, td.c_forum').removeAttr('rowspan'); $('td.c_subforum').attr('colspan', '2'); } </script> <style type="text/css"><!-- /* Facebook Style Like/Dislike System for ZetaBoards v1.0 Copyright 10-29-10 ~Wonder May not be reposted anywhere Place in the Below the Board section of the Board Template */ .likebg {background-color: #eaeaea;} --></style>
<script> //The Buttons are what you click to like/dislike a post, the Icons are what are shown next to the users who like/dislike a post likeImageButtonURL="http://z1.ifrm.com/0/1/0/p408628/likeZB.png"; likeImageIconURL="http://img299.imageshack.us/img299/7645/thumbsupgreenr.gif"; dislikeImageButtonURL="http://img411.imageshack.us/img411/2557/zbdislike.png"; dislikeImageIconURL="http://img299.imageshack.us/img299/9333/thumbsdownrede.gif";
//Set to true if you want to disable Liking disableLike=false;
//Set to true if you want to disable Disliking disableDislike=false;
//If you want to change the word 'Like' to something else, edit these strings. likeText=["Like","Likes","like this","likes this","Unlike"];
//If you want to change the word 'Dislike' to something else, edit these strings. dislikeText=["Dislike","Dislikes","dislike this","dislikes this","Undislike"]; </script> <script src="http://ifzblike.appspot.com/static/zblike.js"></script>
Copyright
- Quote:
-
<script type="text/javascript"> //<![CDATA[ $("#submenu a:contains('Portal')").remove(); //]]> </script>
Menu
- Quote:
-
<script type="text/javascript" language="JavaScript1.2"> /* * Add links to submenu by Zefer * Made November 2007 */var links=[] links[links.length]=["Youtube Channel", "http://www.youtube.com/miniaturerailwaywrld"]
for(i=0;i<links.length;i++){ document.getElementById("submenu").innerHTML += "<a href='" +links[1]+ "'>" +links[0]+ "</a>" }
</script> <script type="text/javascript" language="JavaScript1.2"> /* * Add links to submenu by Zefer * Made November 2007 */var links=[] links[links.length]=["Miniature Railway World Website", "http://www.miniaturerailwayworld.co.uk"]
for(i=0;i<links.length;i++){ document.getElementById("submenu").innerHTML += "<a href='" +links[1]+ "'>" +links[0]+ "</a>" }
</script>
Thanks in advance!
|
|
Ferby
|
Nov 26 2013, 01:35 PM
Post #2
|
|
Moonface
|
Feb 19 2014, 09:29 AM
Post #3
|