- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
87 Posted Topics
Re: Could You add math random to this to display a selection of random pages from a site? | |
Re: If its Client side.... [code] <script type="text/javascript"> <!-- Begin /* This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com Created by: Abraham Joffe :: http://www.abrahamjoffe.com.au/ */ /***** CUSTOMIZE THESE VARIABLES *****/ // width to resize large images to var maxWidth=500; // height to resize large … | |
I want to Show Videos inside an Image of theater curtains, image should float ABOVE the videos. Cant work out why it wont work, I have. [CODE]<style type="text/css"> #tablist{ padding: 3px 0; margin:0; font: bold 12px Verdana; } #tablist li{ list-style: none; margin: 0; width:130px; } #tablist li a{ padding: … | |
Im getting a 403 forbidden error on my server. Server: MySQL 5.1 phpMyAdmin - 2.11.9.2 On my root directory I have a subfolder '/classifieds' During work using filezilla, I somehow moved the folder into another subfolder. I deleted it from that subfolder and reuploaded to the root directory. Now I … | |
Using an apache webserver, im currently redirecting hotlinks to a certain image. [code]<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?camosreptiles.com.au/ [NC] RewriteCond %{HTTP_REFERER} !google\. [NC] RewriteCond %{HTTP_REFERER} !search\?q=cache [NC] RewriteRule \.(jpg|jpeg|png|gif)$ http://i14.photobucket.com/albums/a345/Instar/nedry2.gif [NC,R,L] </ifModule>[/code] What id like to do, is redirect to a certain page (my own domain) … | |
Id like to show total number of users elsewhere on my site, and dont know which part of the following code calls that. I want to have 'some text[number of users here], and counting!' I need to strip out only the minimum code to display the total number within another … | |
Id like to limit the text chars shown in this script because too many chars are displayed causing overlap (see link) no idea what to do, please help? p.s I dont know js so if you could kindly be very specific, thanks. :) see it here (bottom of page 5 … ![]() | |
My rss feed wont validate, throwing this error but I dont understand it...please help? error on line 10 at column 75: EntityRef: expecting ';' [CODE=php]<?php require_once('../includes/functions.php'); if (file_exists(SITE_ROOT.'/themes/'.THEME.'/feed-rss.php')){//feed-rss from the theme! require_once(SITE_ROOT.'/themes/'.THEME.'/feed-rss.php'); } else{//not found in theme header("Content-type: text/xml"); ?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>RSS - <?php echo $html_title;?></title> <link><?php … | |
I have an issue with my iframe, that contains pages of my online shop. When using paypal, having added a product to the cart and on the paypal page, you click. continue shopping, you are returned to the shop but other 'add to cart buttons' are non functional unless the … | |
Thius script only functions in IE, In chrome and firefox you dont get the sound. How can I make it work for those browsers too? Our users are mainly IE, Chrome, Firefox, not tested in opera etc [CODE]<!-- // Sound on Mouseover javascript supplied by http://www.hypergurl.com var aySound = new … | |
I want to create a banner that contains a live updating rss/xml feed. Output should result in a single image that updates. Ill be using this to draw customers to my site since the image will be hosted on other sponsor sites. Image format must be either jpg gif or … | |
Hi there, firstly I want to disable this part of an epic script. I dont want anything to happen onclick. [CODE]function checkOnClick(e,n){ window.open('http://www.camosreptiles.com.au/','_self'); return ;[/CODE] I tried making the bit at the end return false; but it had no effect. If I cannot do that, I need to fix a … | |
Im trying to merge the functions of two buttons In this script [CODE]<script language="JavaScript"> function setVisibility(id, visibility) { document.getElementById(id).style.display = visibility; } </script> <input type=button name=type value='Lock Up Geckos' onclick="setVisibility('geckos', 'none');";> <input type=button name=type value='Release Geckos' onclick="setVisibility('geckos', 'inline');";> <div id="geckos" style="position: relative;display: none;"> <div style="position: absolute; top: 0px; left: 0px; … | |
Hi there, I have set up a mailing form with captcha and it work great however in the form itself, it says action="mailer.php" . When its submitted, it tries to go a non existant page, aka [url]www.mywebsite.com.au/mailer.php[/url] My pages are php, can you help? I want it to work but … ![]() | |
Im looking for a code like the one below that automatically resizes posted images to desired size while at the same time the resized images are clickable for full size which opens in another window. The one below does not work on my forum software, Im looking for a work … | |
Hello, Im trying to get my custom website screensaver to open in full window mode but I keep failing, I cant work out why? Do I need a new function in the code to do that? Please help if possible. Seen some odd codes in Javascript? :) [CODE] <script> <!-- … | |
my image veiwer has stopped working properly, I dont know why. It resizes as its meant to, but dosent pop the veiwer window. Can you find the problem? [CODE]<script type='text/javascript'> var popbackground="http://i14.photobucket.com/albums/a345/Instar/greenbgfade17oi.jpg"; //specify backcolor or background image for pop window var windowtitle="Image Viewer" ; //pop window title function detectexist(obj){ return … | |
Ive accidently deleted something needed in the body I think for this code, but I cannot work out what it needs. I think the descarea div is missing? Can you help me rewriteit? [CODE]<div class='row4' style='position:absolute; background-color:yellow;border:1px solid #000000; padding:10px; display:none' id='miniTopic'></div> <script> function Request() { if (window.XMLHttpRequest ) { … | |
Re: If your codes are called at body onload, you run more than one, eg <body onload='do this();do that()'> add a semicolon after each command | |
Re: could this be done with posted images? Im currently using this code [code] <script type='text/javascript'> <!-- function ResizeThem(){ maxheight=150; maxwidth=150 ; imgs=document.getElementsByTagName("img"); for (p=0; p<imgs.length; p++) { if (imgs[p].getAttribute("alt")=="user posted image") { w=parseInt(imgs[p].width); h=parseInt(imgs[p].height); if (parseInt(imgs[p].width)>maxwidth) { imgs[p].style.cursor="pointer"; imgs[p].setAttribute('alt','Reduced Image - Click to see full size'); imgs[p].onclick=new Function("iw=window.open(this.src,'ImageViewer','resizable=1');iw.focus()"); imgs[p].height=(maxwidth/imgs[p].width)*imgs[p].height; imgs[p].width=maxwidth;} … | |
Help my blog comment form and button are not appearing. Whats wrong? [url]http://codisarc.blogspot.com/[/url] <a href="http://codisarc.blogspot.com/2009/10/finally-results-are-in.html#comments"location.href=http://codisarc.blogspot.com/2009/10/finally-results-are-in.html#comment-form;> 0</a> </style> <link rel="me" href="http://www.blogger.com/profile/11763506196893470340" /> <link rel="openid.server" href="http://www.blogger.com/openid-server.g" /> <!-- --><style type="text/css">@import url([url]http://www.blogger.com/static/v1/v-css/navbar/697174003-classic.css);[/url] div.b-mobile {display:none;} </style> P.S I get this Error... [quote]Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; … | |
Re: There exist such a service, Very short code, easy to install and customisable [url]http://www.snap.com/snapshots.php[/url] or You can Host And use This code [code]/* Link Thumbnail v2.0.1 (c) Arc90, Inc. http://www.arc90.com http://lab.arc90.com Licensed under : Creative Commons Attribution 2.5 http://creativecommons.org/licenses/by/2.5/ */ /* Globals */ var arc90_navigator = navigator.userAgent.toLowerCase(); var arc90_isOpera = … | |
I was reading the following article about creating 'on-demand' ajax calls to javascript functions' so that basically your scripts are only called when needed, which meand your pages load faster. However Im very confused about exactly how to implement this on my site. I have download the two main js … | |
Im using A css rule selection script to change background images. It works but theres an annoying problem. when the user sets the image they want, its changed instantly (dynamically written to the existing stylesheet), however when you reload the page the default background image is shown (the one actually … | |
Could Somebody Please Write Me a cookie For the following code? I tried several Times But Nothing worked, I just dont understand cookie functions. I want a users selection to remain indefinately until they change it, at which point a new cookie is written. Please share your skill? <!-- Background … | |
I want to know if its possible to over-ride a setting that is part of an included js **that i dont have direct access to.** below is the js in question. the only part i want to change is the Tab-key feature. can I wite a new function to switch … | |
Im getting an Error (ie) 'undefined' relating to the path of a clicked image. How to define its path please? Full working code supplied error seems to be in this line Function('onclick=jkpopimage(this.src,600,500);'); where 'this.src' is undefined? <html> <head> <script type='text/javascript'> // for free JavaScript tutorials and scripts // This notice … | |
My script resizes images (yes, client side! No, I dont have access to do it server side!) When a topic is posted with alot of images, The script sometimes resizes before all the images load, resulting in images loading after that which are not resized. How can I ensure the … | |
I use an image resizer/veiwer script That works Great in IE, but I've discovered that the custom page I use for Showing the Images, appears as text in Firefox. How can I make it show as text/html ? It's a simple enough page. page code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML … | |
[code] <body onload=function(){document.getElementById("place_holder").src =document.getElementById("imgurl").value;} > <script> function ResizeThem() { maxheight=250; maxwidth= 250; imgs=document.getElementsByTagName("img"); for (p=0; p<imgs.length; p++) { if (imgs[p].getAttribute("alt")=="user posted image") { w=parseInt(imgs[p].width); h=parseInt(imgs[p].height); if (parseInt(imgs[p].width)>maxwidth) { imgs[p].style.cursor="pointer"; imgs[p].setAttribute('alt','Reduced Image - Click to see full size'); imgs[p].onclick=new Function("document.getElementById('imgurl').value = this.src; iw=document.getElementById('this.src','viewer')open();iw.focus()"); imgs[p].height=(maxwidth/imgs[p].width)*imgs[p].height; imgs[p].width=maxwidth; } if (parseInt(imgs[p].height)>maxheight) { imgs[p].style.cursor="pointer"; imgs[p].onclick=new … | |
Im using the following script to resize and Automate thumbnails of user posted images on my forum. However I dont like the white background of the new window. Im wondering if its possible to launch the full size image in a customized window with a background image, such as http://h1.ripway.com/Inny/ImageViewer.html … | |
Re: That will depend how each script is called, if the scripts are called in the body onload, then <body onload="do function1();do function2();do function3()"> easier may be [url]http://tetlaw.id.au/view/javascript/fastinit[/url] | |
Is there a better way to write this short code? It goes to topics that dont exist, I want it to check first so that dosent happen, and not to go to topics in a particular forum, a forum url looks like this (last number being the forum id) [url]http://inny.ipbfree.com/index.php?showforum=1[/url] … | |
Re: Hes just using css to style a div he inserted after his body tag css is [code] #info { width: 100%; overflow: hidden; position: absolute; top:0px; z-index:2; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; } #infobar a, #infobar a:link, #infobar a:visited, #infobar a:active { display: block; float: left; … | |
Re: or javascript * Correctly handle PNG transparency in Win IE 5.5 & 6. http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006. Use in with DEFER keyword wrapped in conditional comments: */ var arVersion = navigator.appVersion.split("MSIE") var version = parseFloat(arVersion[1]) if ((version >= 5.5) && (document.body.filters)) { for(var i=0; i" img.outerHTML = strNewHTML i = i-1 … | |
Im trying to creat an Imagemap Menu using my banner. This is a proto-type for a much more complex imagemap menu. I have created an imagemap of the original banner (click the eye) and used an image swap script to swap to my 'menu banner' (which will have more clickable … | |
Im trying to insert a script <div class="js-kit-comments" permalink=""></div> <script src="http://js-kit.com/comments.js"></script> into my boards profiles page <tr> <td class="row3" valign='top'><b>Country</b></td> <td align='left' class='row1'>Australia</td> </tr> </table> board http://inny.ipbfree.com/index.php? to a particular spot beneath a td (profile field) called 'country' I cant seem to get it to happen. can anyone help? code … | |
I want to use this code to display a blank page When someone clicks 'veiw source' from either the context menu or toolbar. (if they switch off javascript they are simply redirected, I use another code) I dont want extra pages popping up, Just the blank page, possibley I could … | |
I want to override the maxlength (chars) seetings below for my board, however [B]I dont have direct access to the templet[/B] . Is there a way to script it to increase maxlength? [code]<tr> <td colspan="2" class='pformstrip'>Topic Settings</td> </tr> <tr> <td class='pformleft'>Topic Title</td> <td class='pformright'><input type='text' size='40' maxlength='50' name='TopicTitle' value='' tabindex='1' … | |
Re: try this [url]http://www.tinyedit.com/[/url] | |
Re: perhaps something like this example? <script> <!-- if (screen.width>=1024 && screen.height>=768) { // 1024x768 skin info here document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://www.fileden.com/files/2006/9/25/238265/default%201024.txt ">') } else { // 800x600 skin info here document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://www.fileden.com/files/2006/9/25/238265/default%20800.txt ">') } //--> </script> But instead of screenwidth parameters use eg if (navigator.appName.substring(0,9) == "Microsoft") Browser … | |
Im trying to rewrite a link with a href function. I need to parse a query string within it ('+tid') But all attempts Have falied. The current onclick/ link function <a href="javascript:who_posted();">Who Posted?</a> is attached to my forums 'replys' number colum in forum veiw' (i have no direct access) it … | |
Is there any way to count users in my chatroom and display whos chatting using javascript or ajax? code in php below has issues, but this is what it should do. <?php $chatnames = file('http://client11.addonchat.com/scwho.pl?id=292747&plain=1'); $indx = count($chatnames); $indxcom = $indx - 1; if ($indx == 0) { echo "<b>No … | |
What on earth is wrong with it? <? Header("content-type: application/x-javascript"); $chatnames = file('http://client11.addonchat.com/scwho.pl?id=292747&plain=1'); $indx = count($chatnames); $indxcom = $indx - 1; if ($indx == 0){ echo "document.write(\"No one is in the chat room at the moment"\)"; } else{ echo "document.write(\"<b>Members Chatting:</b>"\)"; for($i = 0; $i < $indx; $i++) { $name … | |
supposing you had multiple scripts running, many remote hosted and you cant remember how many or which ones used a body onload tag. Could you use a wildcard to cover them? for example, is something like this possible? [code]<body onload="popWindow();somefunction();"*"(); "*"();">[/code] :?: | |
Hello, Im trying To create A code In php That Does the Following: A. detects visiting users real ip address B. detects city and country C. detects browser type and version D. detects referrer url E. detects landing page F. appends this information to a txt file Im using the … | |
Hello, I want to add the following 2 functions to the code below. I have no Idea At all, Please Help. I want the images to rotate as they do now, but Id like to add random transitions to each image change. [code] function applyeffect(){ if (document.all && photoslider.filters){ photoslider.filters.revealTrans.Transition=Math.fl … | |
The following 3 pages which are user activated popups on my site are not rendering in mozilla firefox. Raw source is displayed instead. I dont know why. [url]http://herproom.5.forumer.com/index.php?act=Attach&type=post&id=9948[/url] [url]http://herproom.5.forumer.com/index.php?act=Attach&type=post&id=7101[/url] [url]http://herproom.5.forumer.com/index.php?act=Attach&type=post&id=9817[/url] | |
Re: try this mate. replacing images and links with your own. [code] <center><script language="JavaScript"> <!-- // Create arrays to contain all the values // for links and image locations link = new Array image = new Array link[1]="http://www.wildexpo.com.au/Aust%20Rep%20Show/" image[1]="http://www.reptilesaustralia.com.au/forums/Ads/wildexpo.gif" link[2]="http://www.freewebs.com/langylot/" image[2]="http://i14.photobucket.com/albums/a345/Instar/reptilemad.jpg" link[3]="http://www.theherphouse.com/" image[3]="http://www.theherphouse.com/mkportal/templates/default/images/logo.jpg" link[4]="http://www.aftcra.org.au/" image[4]="http://i14.photobucket.com/albums/a345/Instar/adimage2.jpg" link[5]="http://reptilesaustralia.com.au/index.html" image[5]="http://i14.photobucket.com/albums/a345/Instar/reptilesaustralia.jpg" link[6]="http://www.zoomed.com/" image[6]="http://www.reptilesaustralia.com.au/forums/Ads/zoomed.jpg" link[7]="http://www.reptilepark.com.au/" image[7]="http://i14.photobucket.com/albums/a345/Instar/arpbanner468x60.jpg" … | |
Hello again, Im using the code below in a child page (popup), the images are called from the parent page. When the changer is running, the child page goes white between images. I realise this is happening because the Images are not cached (yet) on the users browser. I tried … |
The End.