JavaScript - How Do I Make This Obj More Eloquent?
Hey --
Right now, I have a variable that I just make a obj that holds functions, variables etc.. but I think it's not very eloquent. Is there a better/more functional way to do it? Class.create? or new obj etc? I have access to jquery or prototype. This is what I have.. it is a pagination builder .. var paginateB = { init: function(param){ this.var = param; this.var1 = somevalue1; this.var2 = somevalue2; this.hashval = $H(); buildNumbers(this); }, buildNumbers: function(){ var var3 = somvaluepresetvalue * this.var1; //do some stuff }, buildLinks:function(){ var var4 = somvaluepresetvalue * this.var2; //do some stuff } } Besides it not completely working (I think I call the functions before they are declared_.. I just feel I am missing out on some eloquence here.. Should I create a class, then initialize those vars at the top? Then somewhere else in my code, I do this: paginateB.init(1); Similar TutorialsI want the dynamically add fields can be appear with a contain of php code, but I have not found the way, I wondering there who are willing to help me. my code as fallowing: Code: <!-- // another fields here //--> <div id="new_field"--></div> <script type="text/javascript"> var inputs = { fields: 0, target: "new_field", addInput: function() { if (this.fields != 5) { this.fields++; var newElement = document.createElement('div'); newElement.id = this.target + this.fields; newElement.innerHTML = "<?php if ($emails) { foreach ($emails as $result) { ?><b><?php echo $entry_emails; ?></b><br /><input type='text' name='emails[]' value='<?php echo $result; ?>' size='auto' maxlength='100%' /><?php } } ?>"; document.getElementById(this.target).appendChild(newElement); } else { alert("Only 5 fields allowed."); } }, };</script> i know it does not appear because the php code Quote: newElement.innerHTML = "<?php if ($emails) { foreach ($emails as $result) { ?><b><?php echo $entry_emails; ?></b><br /><input type='text' name='emails[]' value='<?php echo $result; ?' size='auto' maxlength='100%' /><?php } } ?>"; but please let me know is there another idea and pointer to make it work?, I would appreciate it and many thanks. I found this copy and paste java script for slide shows... I can only put 1 on the page then the other don't work... how do i edit it so i can put multiple on 1 page? http://www.javascriptkit.com/script/.../jsslide.shtml Code: <script language="JavaScript1.1"> <!-- /* JavaScript Image slideshow: By JavaScript Kit (www.javascriptkit.com) Over 200+ free JavaScript here! */ var slideimages=new Array() var slidelinks=new Array() function slideshowimages(){ for (i=0;i<slideshowimages.arguments.length;i++){ slideimages[i]=new Image() slideimages[i].src=slideshowimages.arguments[i] } } function slideshowlinks(){ for (i=0;i<slideshowlinks.arguments.length;i++) slidelinks[i]=slideshowlinks.arguments[i] } function gotoshow(){ if (!window.winslide||winslide.closed) winslide=window.open(slidelinks[whichlink]) else winslide.location=slidelinks[whichlink] winslide.focus() } //--> </script> Code: <a href="javascript:gotoshow()"><img src="food1.jpg" name="slide" border=0 width=300 height=375></a> <script> <!-- //configure the paths of the images, plus corresponding target links slideshowimages("food1.jpg","food2.jpg","food3.jpg","food4.jpg","food5.jpg") slideshowlinks("http://food.epicurious.com/run/recipe/view?id=13285","http://food.epicurious.com/run/recipe/view?id=10092","http://food.epicurious.com/run/recipe/view?id=100975","http://food.epicurious.com/run/recipe/view?id=2876","http://food.epicurious.com/run/recipe/view?id=20010") //configure the speed of the slideshow, in miliseconds var slideshowspeed=2000 var whichlink=0 var whichimage=0 function slideit(){ if (!document.images) return document.images.slide.src=slideimages[whichimage].src whichlink=whichimage if (whichimage<slideimages.length-1) whichimage++ else whichimage=0 setTimeout("slideit()",slideshowspeed) } slideit() //--> </script> <p align="center"><font face="arial" size="-2">This free script provided by</font><br> <font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript Kit</a></font></p> Hi guys! I have a situation where 2 scripts run perfectly when run independently - the first one loads up a "video", running at 30 fps, made up of images, the second one uses accelerometer data from the iPhone to throw a blue sphere around the screen, depending on movement of the iPhone. However, when I put these 2 scripts inside one HTML page, the "video" runs, but the blue sphere is "frozen" - but the scripts are still the same (one inside the head, as before, and the other in the body, again as before) How can I get them to run in a parallel way? I'd be very pleased indeed if someone could come up with a solution!! Here's the complete code: Code: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Accelerometer Javascript Test</title> <link rel="stylesheet" href="app.css" type="text/css"> <meta name=viewport content="width=device-width,user-scalable=yes"/> <!--<meta name="viewport" content="initial-scale=1.6; maximum-scale=1.0; width=device-width; "/>--> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <style> body { } #sphere { position: absolute; width: 20px; height: 20px; border-radius: 50px; -webkit-radius: 50px; background-color: blue; left: 161px; top: 207px; } </style> <script type="text/javascript"> var frames = new Array(); //load frames into array for(var i = 0; i < 176; i++){ frames[i] = new Image(480,320); frames[i].src ="images/track" + (i+1) + ".png"; } //playback var currentFrameNumber = 0; var fps = 30; // frames / second const speed = 1000 / fps; // milliseconds //var speed = 33; function nextFrame( ) { document.getElementById("display").src = frames[currentFrameNumber].src; currentFrameNumber = ( currentFrameNumber + 1 ) % frames.length; setTimeout( nextFrame, speed ); } window.onload = nextFrame; </script> </head> <body> <script type="text/javascript"> var x = 0, y = 0, vx = 0, vy = 0, ax = 0, ay = 0; var sphere = document.getElementById("sphere"); if (window.DeviceMotionEvent != undefined) { window.ondevicemotion = function(e) { ax = event.accelerationIncludingGravity.x * 5; ay = event.accelerationIncludingGravity.y * 5; document.getElementById("accelerationX").innerHTML = e.accelerationIncludingGravity.x; document.getElementById("accelerationY").innerHTML = e.accelerationIncludingGravity.y; document.getElementById("accelerationZ").innerHTML = e.accelerationIncludingGravity.z; if ( e.rotationRate ) { document.getElementById("rotationAlpha").innerHTML = e.rotationRate.alpha; document.getElementById("rotationBeta").innerHTML = e.rotationRate.beta; document.getElementById("rotationGamma").innerHTML = e.rotationRate.gamma; } } setInterval( function() { var landscapeOrientation = window.innerWidth/window.innerHeight > 1; if ( landscapeOrientation) { vx = vx + ay; vy = vy + ax; } else { vy = vy - ay; vx = vx + ax; } vx = vx * 0.98; vy = vy * 0.98; y = parseInt(y + vy / 50); x = parseInt(x + vx / 50); boundingBoxCheck(); sphere.style.top = y + "px"; sphere.style.left = x + "px"; }, 25); } function boundingBoxCheck(){ if (x<0) { x = 0; vx = -vx; } if (y<0) { y = 0; vy = -vy; } if (x>document.documentElement.clientWidth-20) { x = document.documentElement.clientWidth-20; vx = -vx; } if (y>document.documentElement.clientHeight-20) { y = document.documentElement.clientHeight-20; vy = -vy; } } </script> <img id="display"src="images/track1.png" width="480" height="320"> <div id=content> <div id="sphere"></div> </div> </body> </html> I have a script that clicks links how can i make it not click a certain. Such as how to make it dont click red link or dont click bold links. Code: var waiting_time = 30; var range_to = 15; var shuffle = function(o){ if(Math.floor(Math.random() * o.length) % 2) return o; for(var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x); return o; }, isAds = function(o) { try { return o.href.match(/cks\.php\?k\=[0-9A-Fa-f]+\&cdk\=flase/) != null && o.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('div')[1].className == 'image' } catch(e) { return false } }, correctURL = function(r) { return window.location.href.match(r) != null }, setStatus = function(o, m) { o.parentNode.parentNode.parentNode.innerHTML = m }, addevent = function(o, f) { document.getElementById(o).addEventListener('click', f, false) }, byTag = function(t) { return document.getElementsByTagName(t) }, byName = function(n) { return document.getElementsByName(n) }, newTag = function(t) { return document.createElement(t) }, getwtime = function(o) { var i, a = o.parentNode.parentNode.parentNode.parentNode.getElementsByTagName('div'); for(i = 0; i < a.length; i++) if(a[i].className == "counter") return a[i].innerHTML.match(/([0-9]+) seconds/)[1] }, strip = function(s) { var str = String(s).split("</td>").join("\r"), reg = /<td\s*width=['"]?100\%['"]?\s*>([^\r]+)\r/, match = str.match(reg), search = str.search(reg), out = [], i = 0, tmp; while(match) { str = str.substr(search + match[0].length, str.length); out[i] = match[1].replace(/\s*<script[^>]+>[\S\s]+<\/script>\s*/, ""); out[i] = out[i].replace(/<img[^>]+>/, ""); i++; match = str.match(reg); search = str.search(reg); }; return (out.length ? "<table><tr><td>"+out.join("</td><td>")+"</td></tr></table>" : "NO MATCH"); }, login = function() { var a = byTag("a"), I; for(I = 0; I < a.length; I++) if(a[I].href.match(/logout\.php/)) return true; return false }(), autosurf = false; if(correctURL(/\/ads\.php/)) { if(login) { var A = byTag("a"), i, html = "", timer, table = document.getElementById('content'), robot = newTag('div'), urls = [], current = 0, msg, tmr, load = function() { clearInterval(timer); timer = null; if(!urls[current]) { if(typeof autosurf == 'function') autosurf(); return }; var ajax = new XMLHttpRequest(); ajax.onreadystatechange = function() { try { if(ajax.readyState == 4) { if(ajax.status == 200) { if(String(ajax.responseText).match(/You have already viewed this advertisement/)) { msg.innerHTML = "Ads already opened, loading next ads..."; setStatus(urls[current], "OPENED"); current++; timer = setInterval(load, 1000) } else if(String(ajax.responseText).match(/Couldn't find an advertisement/)) { msg.innerHTML = "Ads expired, loading next ads..."; setStatus(urls[current], "EXPIRED"); current++; timer = setInterval(load, 1000) } else if(String(ajax.responseText).match(/You don't have permission to view this advertisement/)) { msg.innerHTML = "Forbidden Ads, loading next ads..."; setStatus(urls[current], "FORBIDDEN"); current++; timer = setInterval(load, 1000) } else { var j = urls[current].wtime, validate = function() { var ajx = new XMLHttpRequest(); ajx.onreadystatechange = function() { try { if(ajx.readyState == 4) { if(ajx.status == 200) { msg.innerHTML = "Ad click, opening next ads..."; setStatus(urls[current], "Ad Clicked & Confirmed"); current++; timer = setInterval(load, 1000) } else { msg.innerHTML = "Connection error, retrying..."; validate() } } } catch(e) { msg.innerHTML = "Validation error, retrying..."; validate() } }; msg.innerHTML = "Validating..."; ajx.open("GET", "cmp.php?complete&", true); ajx.send(null) }; tmr = setInterval(function() { if(j < 0) { validate(); clearInterval(tmr); tmr = null; return }; msg.innerHTML = "Ads loaded, waiting for "+j+" seconds..."; j-- }, 1000) } } else { msg.innerHTML = "Loading error, retrying..."; timer = setInterval(load, 1000) } } } catch(e) { msg.innerHTML = "Loading error, retrying..."; timer = setInterval(load, 1000) } }; msg.innerHTML = "Loading ads <b id='JFClickBot-current'>\""+(urls[current].parentNode.parentNode.parentNode.getElementsByTagName('a')[0].innerHTML)+"\"</b>...<br /><div id='JFClickBot-loading'></div>"; ajax.open("GET", urls[current].href, true); ajax.send(null) }; for(i = 0; i < A.length; i++) { try { if(isAds(A[i])) { urls[urls.length] = A[i]; urls[urls.length - 1].wtime = getwtime(A[i]) } } catch(e) {} }; robot.id = "JFClickBot-container"; robot.align = "center"; html = "<style>"; html += "#JFClickBot-container *{font-family:arial;color:black;font-weight:bold;text-decoration:none}"; html += "#JFClickBot-container{display:block}"; html += "#JFClickBot,#JFClickBot-title,#JFClickBot-container a.button{-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;border: 1px solid #d91a2d}"; html += "#JFClickBot-container a.button{padding:10px;color:#000;background:#d91a2d}"; html += "#JFClickBot-container a.button:hover{color:#fff;background:#333}"; html += "#JFClickBot{padding:2px;display:block;width:900px;background:#fff;text-align:left}"; html += "#JFClickBot-title{display:block;padding:5px;background:#d91a2d;color:#fff}"; html += "#JFClickBot-msg{line-height:2em}"; html += "</style>"; html += "<div id='JFClickBot'><div id='JFClickBot-title'>JFClickBot For Gen4 Sites</div><br /><div id='JFClickBot-msg' align=center>"; html += "<b style='font-size:20px'>Warning</b><br />By Using This Tool You Agree to The Terms Of Use On <a href='http://clickbots.justfreebies.net' rel="nofollow" target='_blank'>ClickBots</a>.<br> We Are Not Resposible For Your Action, USE AT YOUR OWN RISK.<br><a href='http://clickbots.justfreebies.net' rel="nofollow" target='_blank'>© PTC ClickBots</a>"; html += "</div><br />"; html += "<center>"+(urls.length ? "<a href='javascript:;' class='button' id='adsclick'>Click All Ads ("+urls.length+")</a>" : "<a href='javascript:;' class='button'>No ads</a>")+" <a href='http://clickbots.justfreebies.net/features.php' class='button' rel="nofollow" target='_blank'>Features</a> <a href='http://clickbots.justfreebies.net/purchase.php' class='button' rel="nofollow" target='_blank'>Purcahse Site</a> <a href='http://clickbots.justfreebies.net/donate.php' class='button' rel="nofollow" target='_blank'>Donate</a></center><br />"; html += "</div></div>"; robot.innerHTML = html; table.parentNode.insertBefore(robot, table); msg = document.getElementById("JFClickBot-msg"); if(urls.length) { urls = shuffle(urls); addevent("adsclick", function(){ autosurf = function() { msg.innerHTML = "Done !"; alert(msg.innerHTML); }; this.parentNode.style.display = 'none'; timer = setInterval(load, 1000); }) }; addevent('silversurfer', function(){ alert("Sorry this features isnt available yet."); return; this.parentNode.style.display = 'none'; msg.innerHTML = "Auto surf mode activated..."; var adscontainer = newTag('div'); document.body.appendChild(adscontainer); adscontainer.style.display = 'none'; autosurf = function() { urls = []; current = 0; msg.innerHTML = "Reloading ads, finding new ads..."; var sec = Math.ceil(Math.random() * range_to * 60), j = sec, tm, ajx, reloadads = function() { msg.innerHTML = "Reloading ads, finding new ads..."; ajx = new XMLHttpRequest(); ajx.onreadystatechange = function() { try { if(ajx.readyState == 4) { if(ajx.status == 200) { msg.innerHTML = "Loaded, clearing codes and finding available ads..."; adscontainer.innerHTML = strip(ajx.responseText); A = adscontainer.getElementsByTagName('a'); for(i = 0; i < A.length; i++) { try { if(isAds(A[i])) urls[urls.length] = A[i] } catch(e) {} }; if(urls.length) { urls = shuffle(urls); msg.innerHTML = urls.length + " ads found"; timer = setInterval(load, 1000) } else { msg.innerHTML = "No ads found"; autosurf() } } else { msg.innerHTML = "Loading error, retrying..."; reloadads() } } } catch(e){ msg.innerHTML = "Loading error, retrying..."; reloadads() } }; ajx.open('GET', 'ads.php', true); ajx.send(null) }; tm = setInterval(function() { if(j < 0) { clearInterval(tm); tm = null; msg.innerHTML = "Time's up, reloading..."; reloadads() } else { msg.innerHTML = "Waiting for "+j+" seconds before reloading..."; j-- } }, 1000) }; if(urls.length) timer = setInterval(load, 1000) else autosurf() }) } } else if(correctURL(/\/register\.php/)) { var r = byName('6')[0], ref, cty, ori; if(r && force_referal_to) { ref = newTag('input'); ref.type = "hidden"; ref.name = "6"; ref.value = force_referal_to; r.form.insertBefore(ref, r.form.firstChild); r.name = "ref"; r.value = ""; cty = byName('7')[0]; ori = cty.value; cty.parentNode.removeChild(cty); r.form.getElementsByTagName('table')[0].rows[7].cells[1].innerHTML = "<input type=text name='7' value='"+ori+"' style='text-transform:uppercase' />" } } else if(correctURL(/\/forum/)) { try { var name = byName('a_name')[0], tr = newTag('tr'); name.parentNode.parentNode.parentNode.insertBefore(tr, name.parentNode.parentNode); tr.innerHTML = "<td>Username</td><td>:</td><td><input type=text name='a_name' value='"+name.value+"' style='width:100%'/></td>"; name.parentNode.removeChild(name) } catch(e) {} } Hi I found a website that has an awesome link highlighter thing, but I can't quite understand how they did it. I'm 99% sure its javascript, but I could be wrong. Here is the website: http://www.sosfactory.com/web-design/amazium/ The part I want to emulate is the links in the top right. When you mouse over it the highlight bounces to the link you hover over. I tried looking at the code and here is what it says: Code: <!--/header --> <div id="header"> <h1><a href="index.html">AMAZIUM: IT and Management Consulting</a></h1> <div id="lava"> <ul> <li class="selected"><a href="#">About</a></li> <li><a href="#">Blog</a></li> <li><a href="#">Services</a></li> <li><a href="#">Consulting</a></li> <li><a href="#">Contact</a></li> </ul> <div id="box"><div class="head"></div></div> </div> </div> I found the CSS file it is referencing, and I believe the LAVA part has something to do with the effect. Here it is: Code: /*=== Header ===*/ #header { background: #e0d6c8 url(../images/body-bg.gif) repeat-y center ; height: 125px; margin: 0 auto; width: 963px; } #header h1 a { background: url(../images/header-logo.png) no-repeat top left; display: block; width: 343px; height: 125px; text-indent: -9999px; float: left; cursor: pointer; } #lava { position:relative; text-align:center; width:450px; height:35px; float: right; margin: 65px 19px 0 0; font-weight: bold; } #lava ul { margin:0; padding:0; list-style:none; display:inline; position:absolute; top:1px; z-index:100; right: 0px; } #lava li { margin:0 15px; float:left; } #lava a, #lava a:visited { color: #464646; text-decoration: none; display: block; font-size: 15px; } #lava a:hover {color: #fff;} #lava #box { position:absolute; left:0; top:0; z-index:50; background:url(../images/tail.gif) no-repeat right center; height:20px; padding-right:8px; margin:1px 0 0 -10px; } #lava #box .head { background:url(../images/head.gif) no-repeat 0 0; height:20px; padding-left:10px; } Anyone have any ideas about how to do this? Here is a link to the css file: http://www.sosfactory.com/web-design...css/styles.css Also, there is a folder called js that has a few scripts but I'm not sure what they do. Here's the link: http://www.sosfactory.com/web-design/amazium/js/ Any help is greatly appreciated! I have code like: PHP Code: function NewWindow(mypage, myname, w, h, scroll) { var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable' win = window.open(mypage, myname, winprops) if (parseInt(navigator.appVersion) >= 4)} } What is correct code to work in IE like V8? Hi everyone, Someone made a website for my uncle, now he is telling me to fix a problem with it. The problem is that he made a type of image posting system/script on the right bottom of the page{You can see it in the attached image} and its not working at all. The address of website is http://www.signsgifts.com/ [IMG][img=http://s7.postimage.org/69zoetnsn/Screenshot_at_2012_05_03_15_28_28.jpg][/IMG] I am new to developing.. Thanks Hello, Any suggestions for how to make this sort of gallery - http://www.timsimmons.co.uk/index.php ? I am making a website for a friends degree show and really like the minimal aesthetic. I'm not a fan of the usual JS plugin galleries. One thing I can't work out how they have done is link the text caption above to the images. This has been niggling at me for days! I am new to JS so please go easy on me. Cheers, Andy Code: <script type="text/javascript"> <!-- NS4 = (document.layers) ? true : false; function launchVsee2() { try { location='vsee:'; } catch (err) { location='http://www.vsee.com'; return true } } //--> </script> This app works as a URI and can be triggered to run in an address bar, when launched it will launch the app. Now, I can get this script to run in Firefox; it will test for the URI and if not avail it will redirect to the site website of that app. However when I run this in IE it will just load a page that says the site is in valid and not redirect. Anyone have any tips on how to get this working in IE. ALSO in addition this will not run in Safari either; same issue as IE. Thanks in advance HI evey one I want to make a vote music web site , some thing like this : http://www.pmctop20.com/ we can drag each of the items in the left panel and drag it to the vote rows . How can I do so? It's a jquery script Thanks Is there Java Script to show only the Comment and Markup tool bar in a pdf document? I have the toolbars hidden on initial view, but I need to be able to make it so that one toolbar appears. I have figured out how to make all toolbars re-appear, but I don't want users to be able to do that (at least not easily).
like, for user and password on a site I'm still pretty new to this I have a notification bar on a Blogger blog (so, little/no access to server side) that I would like to use JavaScript to make the notification bar appear only once per day for each user. The site is www.BenjerMcVeigh.com, and here is the code for the notification bar: Code: <style type='text/css'> #ut-sticky { background:url('http://3.bp.blogspot.com/-7oGSlq30cTw/Tv33CS4WGgI/AAAAAAAAA0w/HxId_tRUae8/s1600/ut-bg.png') repeat; color:#fff; text-align: center; margin:0 auto; border-top: 1px solid #fff; height:64px; font-size:13px; position:fixed; bottom:0; z-index:999; width:95%; border-top-left-radius:15px; border-top-right-radius:15px; display:block; font-weight: bold; font-family: arial,"Helvetica"; font-color:#fff; } #ut-sticky:hover {background:#333;} #ut-sticky p{line-height:5px; font-size:18px; text-align:center; width:95%; float:left;} #ut-sticky p a{font-size:18px; font-weight:bold; font-family:"Arial"; color:#cfe7d1;} .ut-cross{display:block; position:relative; right:15px; float:right;} .ut-cross a{font-size:18px; font-weight:bold; font-family:"Arial"; color:#cfe7d1; line-height:30px;} </style> <div id='ut-sticky'> <p><a href='http://bit.ly/yq10RE' target='_blank'>Use Google Reader? Why not add www.BenjerMcVeigh.com to your Google Reader list?</a>*****<a href='http://bit.ly/yq10RE' target='_blank'><img alt='Add to Google' border='0' src='http://gmodules.com/ig/images/plus_google.gif'/></a></p> <div class='ut-cross'><a href='javascript:hide_cross();'>X</a></div> </div> <script language='JavaScript'> function hide_cross() { crosstbox = document.getElementById("ut-sticky"); crosstbox.style.visibility = 'hidden'; } </script> I'm very much a novice and appreciate your help...not really sure where to start. Thanks! Hello, How hard is it to make a "mixer" like this one here? http://mixville.ru/choco/create Having only html and css knowledge and minimal javascript(learning it, very interesting language) I can suppose it's like a table filled with buttons which once clicked move to another table on the left side? Which is made like an array or something. Im a newbye i know. Hope you can guide me in the right direction or atleast tell me the subjects that I need to learn to make this myself. P.S. this is in no way a commercial or spam since the website is russian Code: function get_check_value() { var c_value = ""; for (var i=0; i < document.callflow.flow.length; i++) { if (document.callflow.flow[i].checked) { c_value = c_value + document.callflow.flow[i].value + "\n"; } } c_value = "You did the following steps:\n" + c_value; alert(c_value); return false; } how do you make this code pop up the values of (c_value) instead of an alert?.. thanks Hey guys, im in need of some more java script help (by the way thanks for all the other times you guys have helped me) need to create a search box that whatever is in the search box will come up at the end of the URL https://****/DirectConnect/Getpremie...Chassis|X##### the last 6 charecters should be replaced with what ever number that in the search box so X##### should be replaced by 123456 for example or any other number Hello, I Installed a Javascript on my site but the font is very small The code Code: <script type="text/javascript"> TargetDate = "03/12/2010 12:00 PM"; BackColor = ForeColor = CountActive = true; CountStepper = -1; LeadingZero = true; DisplayFormat = "%%D%% يوم, %%H%% ساعة, %%M%% دقيقة, %%S%% ثانية"; FinishMessage = "It is finally here!"; </script> <script type="text/javascript" src="http://f1zcdn.appspot.com/js/countdown.js"></script> How can i make the font in "yellow" bigger ? Thank you I have a Java script chat, How would I make a scroll bar for it? Does any one have any code for that? or do you know what I have to do? thanks, Yo_papa75 Hi guys, first of all im sorry cause i dont know the javascript name and what should this call. i wanted to make a Helps and Guides look like this website http://fnatic.com/ Feedback that located on the left side. If can totally make like them then i hope the script can open a new window with custom size and address bar. I hope someone can help me... i will change my topic tittle if i know what is this call. sorry im a pure newbie in web programming. hopes you all can help me. thanks alot. Hi All members i need helping in creating content slider look like this; http://wpclassipress.com/demo/ note; I ask for creating slider look like this (Thumbnail imge and Title under it) plz any tips to do that, My new WP site depends on this part...plz help |