JavaScript is the client-side scripting language of choice. Learn how to use, tweak and master it, and libraries such as jQuery, YUI and MooTools.
Welcome to the second in our series of 'Talk With The Experts' live forum workshops. Next up is WordPress with SitePoint developers Harley Alexander (front end and WordPress) and Bernard Peh (PHP and WordPress) along with assorted Advisors from here at the forums. The session will kick off at...
Jodie Moule (author of our upcoming UX book) is looking for some SitePoint community members to interview for her book. She is specifically interested in what it is that you want from a UX book. If anyone is interested in taking part, please PM me your name and email address and I'll hook it up.
Let's have them :)
Ok guys and girls, I'd like your help on which JavaScript books to buy! After what seems like hours of searching, reading reviews, looking at tables of contents and contemplating I've decided that I'll read some more...Read what you guys (and girls) think. I've created my own shortlist (although...
If you are reading this you are the SitePoint member we're looking for. The SitePoint forums are currently working on improving the sticky threads. Much work has already been done towards this goal within the "Program Your Site" team. And we are acutely aware of some of their problems. But so...
The old sticky thread was getting a bit dated, so I compiled the following list of useful resources, that no Javascript programmer should be without. Debuggers Firebug debugger for Firefox Microsoft Script debugger for Internet Explorer Internet Explorer Developer Toolbar IE Leak...
If you are looking for a code review or suggestions on how to improve on code you've written then please prefix the summary of your thread with . That will alert our resident experts to comment on the code you have written. Please do not use the Code review title for normal bug hunting, but...
Useful Tips The members of the Programming Team offer the following suggestions to help you get the most from your time here. 1) Try a search.Your problem or a similar one has probably been discussed/answered before. SitePoint has two search features. The vBulletin search...
The point of this thread is to be a comprehensive summary of the available javascript libraries - but with a twist. Most threads I've seen thus far with regards to libraries are: Which one is the 'best' ? Poll: Which library to you prefer and why? Here's a quick breakdown of all the...
Dear Everyone, I need to create a image gallery in which the large image changes to the large version of whatever thumbnail image is clicked; my problem is how to create it so that when one hovers over the large image, the title - "my boat"... - (not alt) appears to correspond to the correct...
I am working on a project that will have a fixed header position based on how far you scroll the page vertically, something like this http://pinterest.com/ Please does anyone have an idea or a plugin for this. Thanks P
This code validates in JSHint. But clicking on the run time button does not generate an answer. The Form: <form id="form1"><table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <td><a...
myPicker = new Picker.Date($$('a.open, #pk1date'), { toggle: $$('.toggle'), positionOffset: {x: -10, y: 20} }); I am trying to change the date format to DD/MM/YY Honestly, on this occasion I have tried every possible combination using dateFormat: 'dd/mm/yy' within this code but I...
Accordion menu open and close? Hi all I have a simple accordion menu here http://www.ttmt.org.uk/forum/accordion.html What I would like here is to have a rollover on each button so they change color when hovering over them.
I work with Android, and i want to parse an xml page .The source code contains a section CDATA.This section is displayed in my simulator.I want to filter the tags and display only the content.The sorce code of xml is like <customer> <lastname> - <!]> </lastname> </customer>...
Hello, I've been saerching this for a while now, and tried to solve the problem before posting here. A part of my page is the result of an XMLHttpRequest. This part should react to onkeypress. But, obviously, it does not. I know that with jQuery you would use livequery, but I want to...
Hi, I have a table that is generated by php (it has to be). Each row has a link that calls a javascript function. When the table is generated each link is given a number to put in the function call, like so: <tr><td><a href="javascript:void(0);" onclick="doSomething('1');">Link 1</a></td></tr>...
I'm struggling how to use JQuery SmoothDivScroll 1.2 beta. The previous version was great! So I'm VERY interested in this new beta, but I don't understand a clue of the explanation on http://www.smoothdivscroll.com/v1-2.htm: in this new version you no longer manually need to add all the elements...
I'm using a beautiful image zoom plugin called Cloud Zoom. One feature of the plugin is that it can allow for a thumbnail gallery next to the main image. When a thumb is clicked, the main image is swapped out. The plugin requires three image sizes, per image in the gallery. Large, small and...
I wanted to see anyone can help me fine the code to create a dropdown link or a flyout like the eBay link on this page http://pages.ebay.com/help/policies/adult-only.html you will see link Amateur items, Adult anime items,Bondage items etc.... I would like to fine that so I can make the links,...
Hi I've made a tabbed menu using Jquery. I'm having trouble styling active links. I'm sure it's something pretty simple but I'm pretty new to Jquery and just can't work it out. (a:hover works fine, and I get a flash of the active colour (#00ff00) when I am actually clicking on a link). Thanks...
Hello, i'm working on a little script and am stuck. What I'm trying to do is select the text that appears after a checkbox and replace it with text that contains html. The problem with the code below is it replaces the text as expected but displays the html literally in the browser. I've tried...
Hi I need to write some JavaScript which will take the value of one field (as its typed) and copy this same value into another field except stripping out any special characters before doing so and replacing spaces with "-". The purpose of this is to generate search engine friendly page names...
Hi, Through a asynchronous request a fill up a stack (2-dimentional) but now I can't 'pop' something off. It keeps giving a 'undefined'; The stack looks like this: var stack = new Array(); function fillstack(){ stack = new Array;
on this page http://www.philipdusel.com/work.html if you click on the text link that says "download original" or "full size" it of course goes to a page showing the full size image. However upon returning to the page, by hitting the browser's back history button, you will see that the scroll...
Hello, I have 1) a comma delimited string that is the result of a JSON decode and 2) an array composed of various strings. I want to see which elements of the array are also found in the comma delimited string. //var myarray; //var jsondecoded; for (var k in myarray) {
Hi guys, Can anybody give me an idea why the external js file isn't working with HTML5 canvas? It has to be on the same file and I don't want to expose my codes to the public? In this case, I'm sure my path to .js files are correct. Thank for your help in advance
Hullo! I'll make it quick: I need advice for 3 things. Having an image load while: A sequence of images loads and repeats until: A User hovers over the image and it displays a different sequence of images and then stops
I have a form that needs to be printed. I've used CSS and print style sheets to accomplish this. However, I cannot remove the "arrow" on a select tag. Is it possible to use javascript to do this? http://mainly-danish.com/ARD3_current.html Click on a radio button under the sentence,...
http://mayacove.com/dev/tt/test_event.html showing tooltip on hover.. I put a border around tooltip so you can better see the prob.... when put mouse over area of tooltip it starts flickering, how can I fix this? (yes tooltip sits partially on top of link that shows it...) thank you.
I have a website at - http://breckenridgegroup.com/recent_transactions_test.php When you click on the images they open a lightbox which works fine in all browsers. Except for IE, which when you click on the image the lightbox opens a little off center then quickly jumps to center when it is...
Hi, First of all - I am full aware of jQuery for this kinda stuff, but I need to do it in pure javascript (due to the fact we only use jQuery on a small handful of pages, and can't afford to put a large file on the whole site - as its already quite busy). I wrote the following code: var...
Hi Consider a servelet that returns a html page with embedded javascript: <head> ... <script src="./js/foo/jfoo.js?seq=2" type="text/javascript"></script> ... </head>
i want to make a ui like rentpost . they have used some javascript based library. (jquery/ jquery based paid library...etc ?) suggest all possible options . here is video of what i want ! http://screencast.com/t/5x8oWShPq I am working on asp.net project, btw. thanks! sunny.
<script> //function PlaySound() { var sound = document.getElementById(sound1); sound.Play(); alert("ok");} function playSound( url ){ var s=document.getElementById("sound").innerHTML="<embed src='"+url+"' hidden=true autostart=true loop=false>"; s.play(); } </script>
Hello jQuery Guru's, I'm looking for some help in this project. I would like to modify this: http://static.buildinternet.com/live-tutorials/interactive-picture/index.html So that it animates from left to right instead of right to left when somebody hovers over the icon. An example with the code...
Please click the link below. http://www.cioppinoofpittsburgh.com/menus You will notice the different options for the menu in the left sidebar. I will need to link directly to some of these pages from an outside site. It this possible? Thanks!
Hello, I have some wTooltip at the page: http://aupresent.thalasoft.com/elearning/exercise/339 and after showing some of them, they stopped functioning properly and appear only very briefly. I wonder what could be the cause for it, Firebug didn't show me any thing wrong.
Hi, can you tell me how to dynamically create divs using jQuery. For example, how to make three divs inside body, so every next div will be removed from left 20px?
I found a free table filter script and a website showing how to install/configure it. I cannot figure it out though. I almost have it I think because it works. But some of the configurations I need do not work. http://breckenridgegroup.com/transactions_test.php The above link is where I have...
When someone enters something into a textbox on the html page, he then taps on the Save button to call a function to save it to localStorage. He also taps on Load to populate the page's fields the next time he is on that page: { SAVE } { LOAD } Is there a way to automatically call...
Hi, I am currently working on a small project to improve my designing and programming all round. At the moment I am having a problem implementing some JQuery to allow for text in a DIV to be faded in and out to reveal new DIV's. I have some DIVs hidden with css using display:none and I...
Hello, var myObj = { event: document.onkeypress=function(e){ var e=window.event || e; return e; }
Hi, Sorry for the immature topic thing... I have this pressing issue. I have a dynamic textfield that scales according to the amount of text and dimensions of the set textfield by percentage. Everything works great except I am unable to link mousescroll functions to the scrollbar.
Hello, my first posting :) I have uploaded a script and all is well, except this! On one web page is a word "Select" when clicked on it should open a list Yet it is dead, when the mouse is over is it reads: javascript:; I used :Inspect Element with Firebug" to locate the "Select"...
Hi all, I have a major problem with a script Im writing for personal use, driving me up the wall all weekend The script allows you to add steps along with a picture and a caption, there is a button at the bottom which allows you to either 'remove last step' or 'add another step' limited to a...
Hello, Why this is working: http://nascar.adrenalinex.co.uk/home/wp-content/themes/arras/gallery/gallery.html and when I include this file in home.php it's broken? It's just HTML, JavaScript not working then at all http://nascar.adrenalinex.co.uk/home/
Hello all. I have some jquery on my form that shows/hides divs based on the chosen value of a drop down menu function show1() { var div_num = $("#airpvtyesno").val(); if (div_num == 0) { $("#pickuppvt").hide(); $("#pickuplhr").hide(); }; if (div_num == 1) {
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules