15,699 Topics
![]() | |
![]() | Hello, I'm creating a web page for my friend which is a photographer and we would like something really cool like this [url]http://www.flashperfection.com/tutorials/Colorful-Mouse-Followers-with-ActionScript-3-79460.html[/url] Can I do something like this in js?? Any advices?? We would like to avoid flash if possible Cheers ;) |
after finding out that i couldn't use form submit (which refreshes the page) alongside bockui i have decided to move onto ajax. i am not too good at ajax but i get the gist of it. but now block ui does not wish to work at all. here is the … | |
I'm having trouble redirecting a form via JS. This code (accidentally) works fine as long as there is only one variable: [CODE]<SCRIPT language="JavaScript"> <!-- function Page(thisform) { with (thisform){ var page = thisform.p.value; } } //--> </SCRIPT>[/CODE] [CODE]<form class="box" action="/user/fave.php" onsubmit="return Page(this);">[/CODE] Which just adds the variable to the URL … | |
Ok I created some flash rotator-onclick event to change swf files. But this won't work in IE because the javascript isn't able to create a closing embed tag. Here is the script: [CODE]<script type="text/javascript"> var flashNumber = 0; var items = 3; var i = 0; films = new Array(items) … | |
i have code [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $('#<%= btnTest.ClientID %>').click(function () { var checkedControls = $('#<%= CheckBoxList1.ClientID %>').find('input:checkbox:checked'); if (checkedControls.length > 0) { alert('Valid'); } else { alert('Please select atleast one checkbox'); } return false; }); }); </script> </head> <body> … | |
Hello, thanks for reading my thread. I'm still new to web development so I appreciate your help in advance. I am having a problem that I am sure many people have run across in the past. In my project, I have sidebar menus loaded based upon the user permission level … | |
Has anyone written code that allows Javascript to communicate with mod_wsgi using Ajax? I'm looking for a very simple example that I can build off of (e.g. uppercase a string and return it). The examples that I've seen use PHP/ASP. When I substitute wsgi for 'php' or 'asp', the program … | |
Hello I want to change date format to insert date in mysql. I tried as below code [CODE]<script type="text/javascript"> $(function() { $("#datepicker").formatDate('yyyy-mm-dd'); $("#datepicker").datepicker(); }); </script> [/CODE] but its not working form me. can anybody suggests me how to do it? | |
Following is my url. [url]http://www.teamsingapore.com.sg/content/major_games/commonwealth_games/19th_commonwealthgames2010delhi/photo_gallery/commonwealth_gameswelcomeceremony.html[/url] Click on the first image and you will be navigated through the Photo Gallery using the <Next> button The images sometimes are not loading in LightBox after a while when using firefox. Pls advise Has it got to do with the LightBox Ajax ? | |
Following is my url [url]http://www.teamsingapore.com.sg/content/major_games/asian/16th_asian_gamesguangzhou2010/photo_gallery/cheer_on_team_singaporeasiangamesbannercontest.html[/url] Click on the first image. then navigate through the ligthbox using 'Next' button. Sometimes the images appears distorted. Is is due to the Lightbox ajax rendering of the images? | |
I'm trying to take normal, plain Jane drop-down boxes to choose a time, and replace them with a nicer DHTML version. I followed this tutorial [URL="http://www.javascriptkit.com/script/script2/dhtmlcombo.shtml"]http://www.javascriptkit.com/script/script2/dhtmlcombo.shtml[/URL] but now my buttons are stacked on each other, the selected="selected" variable isn't pre-selecting anything, and if you click on a number (5), it … | |
I have a page at the following url: [url]http://streetkids.zuka.net/sandbox/map-new.html[/url] Pick a continent, select a country ( orange if in Asia, green if in Africa) click on one of the bullets and some info pops up. Works fine in FF and Safari but in IE, it works (almost) once, but then … | |
![]() | Here is the script I'm using: [CODE] $(function () { $('#nav a[title=toggle]').click(function() { $('#user').slideToggle(); }); }); [/CODE] [B]However[/B], when I click the Toggle link located on the nav bar, it slides the #user up, and immediately slides #user back down. Here's the CSS for #user: [CODE] #user { z-index:1; position:fixed; … ![]() |
I am trying to make a Measurements Units Conversion Calculater on Dreamweaver with help of Javascript. THis is my first ever javascript application and need to complete it in next 6 hours. :(( I want to have a drop box containing Length, Area, Temp etc. on top. When a user … | |
I am hosting an even next Saturday that i wish to be able to broadcast a webcast for. I own a domain through [url]www.globat.com[/url] (GX01 Plan) and i was wondering if i could publish a live video stream to this. I have no idea where to start and any and … | |
Guys, I'm having a little bit of a problem trying to display something when the URL is a specific one. Basically purely for examples sake, if the URL is [url]http://www.mydomain.com/hello.html[/url] I want it to display "Hello", and when it isn't I want it to redirect to another page. I know … | |
hello Friends i m having problem My Query that on a classic ASP page i have a form. In that form one drop down list is there. If i select any value from this list menu Then this selected value should check with database and pass value to the textbox … | |
Hi, Im trying to run a MYSQL query to check if the input value exists first. A user fills in an input field and clicks "Add Tag" The java script on the same page checks the MYSQL table if that tag is already there and if so returns a faded … | |
Hi, i have two scripts, One holds the form and the other the php Query process. Im using a small piece of javascript to POST the value to my php Query process script but im finding it difficult to display a result by fading in a div based on the … | |
How can I find/program a list of: We only operate with natural numbers. 1. The prime numbers < 10 000 2. x = a^2 + b^2 < 10 000 3. x = a^3 + b^3 < 10 000 4. x = a^2 + b^2 + c^2 < 10 000 5. … | |
![]() | Hey. I have developed a jquery snippet, that creates a cookie if a window is opened. If only one is opened, and the user is attempting to close it, a confirm will show up to the user to log out first. I would like to create an if, that will … |
Who shall and in which language convert this VBA UDF Code to be applicable for the application forms? [CODE=text]Function Tryme(mycell) mylen = Len(mycell) For j = 1 To mylen mytest = UCase(Mid(mycell, j, 1)) If InStr(1, "AIJQY", mytest) > 0 Then mysum = mysum + 1 ElseIf InStr(1, "BKR", mytest) … | |
Hi, I have the below code and it works fine except the part where I need to access data.Picture. I know its a syntax error but I can't seem to understand what. [CODE]$.post("rpc.php",arr, function(data) { $('#dorants').append(data); $('#dorants').append(data.Picture); [/CODE] Like always appreciate the help :) | |
Hi to all. Please help me add xml file to jquery slider. I want to show image from xml file. For example I have Nivo slider because they have a good transition effect. I'm a noob in Javascript and because I here. And xml file should look like this: [CODE] … | |
Dear All, This website has taught me lot of things since i was an engineering student. Now again i am back with a new question...... I need to read the contents of the jsp page that is using JSF framework through the Javascript. Any help for starting the thing will … | |
Ok if you visit [url]http://www.miniclip.com[/url] you'll notice that there is some kind of flash rotator on the home page. This is my code attempt to move between preloaded swf animations using javascript. I've tried giving id of the object or embed but this won't help. Of course this is not … | |
![]() | Hi, After completing a PHP website, with html, javascript and mysql connections - What can I do to ensure good security and what threats should I be aware of? Thanks, Ashton. ![]() |
Hi all, I want help from all you wonderful guys. I want to know how can we free memory occupied by an Array. That means all the elements associated with this array should be deleted. let say: [code='javascript'] var bigArray = ["313123", "123123", "sadasd",.........................]; [/code] So which will be the … | |
for(var i = document.getElementById("tableId").rows.length; i > 0;i--) { document.getElementById("tableId").deleteRow(i -1); } I had to write this because it took me an hour to find out the error about deleting rows from an html table by javascript. If you do this it generates an error : for(var i = 0; i … | |
Looking to do a similar map. Can anyone give me the basics/tips? [url]http://omalley-supporter-map.heroku.com/[/url] | |
How can i randomize the color of each cell using Math.ceil(Math.random())? this is the code: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body { margin-left: 20%; margin-right: 20%; } h1 { font-family: jokerman; text-align: center; } td { border-style: outset; border-width: 5px; border-color: gray; … | |
hey guys i tried using mouseout and mouse over in full calendar .But i am able to get mouseover but then after mouseout is not working .Help me in fixing this issue Try this code in firefox For any other necessary plugins visit :[url]www.arshaw.com/fullcalendar[/url] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 … | |
what's wrong with this? >.< [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body { margin-left: 25%; margin-right: 25%; } h1 { font-family: jokerman; text-align: center; } td { border-style: outset; border-width: 5px; border-color: gray; font-family: courier new; } </style> </head> <body> <h1>Multiplication Table</h1> <br … | |
hellooo... in my website tabs are working in IE i can open and access the tab content..wer as in firefox i am unable to open... the code was in js and html | |
Hi guys, Can anybody help me on this one...I have a button which when is hovered, triggers an action. But I'd like it to repeat it for as long as the button is hovered. I'd appreciate any solution, be it in jquery or pure javascript - here is how my … | |
Hello all, I am stuck here with a problem. I want to check if someone enters a negative score on a multiple form page. I want that the edit field is red color if the score is negative. I call htis function with the onblur event input name="pickscorehome" type="text" class="pickedits" … | |
Hi Friends.. In my web application(ASP.net), i need to disable the "Back" button in the browser.Moreover i also need to disable the Backspace key in my keyboard when my web page is run..How to do it with javascript..? Someone help with javascript as early as possible.. Regards, Balaguru | |
I have a user name, password, phone number etc., that all need to be validated before being submitted. The functions filter out the unwanted characters and null and zero length strings. I did have a pop up that listed the errors but I would prefer them to be listed below … | |
Hello Everybody, The good news is, I got the ajax jquery to work fine :) The problem is, I cant get top.location to work right after the ajax call. [CODE]$.post('ajax/test.html', function(data) { $('.result').html(data); });[/CODE] In that piece of code, how do I send (data) from my servlet? Is it in … | |
Hai all, I need help on a simple CSS problem. I'm using the clicktohide and clicktoshow for my fmbl page but it seems that the first page is not showing. The site is here [code]http://www.facebook.com/pages/EZ-Fanpage-Mini-Site-Sample-1/162645693772019?v=app_7146470109[/code] Can anyone help me? I wanted to post the code here but the code is … | |
Hi, Below is my code which I am using to remove a div tag. I also want the script to add the same div tag later once certain conditions are meet. The div has some preloaded content too which I don't want to loose. I tried the add() function but … | |
i had developed the site [url]http://www.wooadvertising.in/[/url] . this is the horizontal scrolling website. normaly the website is work properly but when i resize the window all the content in the site mixup.. what i do to solve this problem.. plz check this site by resizing the window. can any one … | |
I am working on the one project & in that project i have use a link button for navigation & on that click event I use a Response.redirect() method; when i try to navigate in project on localhost server every thing is OK but after deployment in production enviroment i … | |
Dear all I came across the following very simple code for dragging a square around using javascript. It is drawn on the html5 canvas. Despite being very simple it has certainly exposed some gaps in my pretty flakey javascript knowledge. I am generally ok with the idea of drag and … | |
i m unable to handle jquery accordian i want to bind it to ta database coz m showing lateset events, announcements in it i wanted that the user shuld be able to enter the values in a text box thru a admin panel which i shoud make for him n … | |
how can i extractthe value of a javascript variable and use it in a xml stylesheet?? | |
Hello All, First let me acknowledge I am still fairly new to webdevelopment and this site. Thanks in advance to anyone who can help me with this issue and for those willing to try. The PROBLEM: I load into a div on index.php page via AJAX another php page. Once … | |
I have created an html page that must not have the automatically created url/page number at the top, in the header, or the url/page number at the bottom, in the footer, when you print the page. I know that it is possible because google maps does it [URL="http://maps.google.com/maps?hl=en&ie=UTF8&ll=37.0625,-95.677068&spn=54.269804,79.013672&z=4&pw=2"]http://maps.google.com/maps?hl=en&ie=UTF8&ll=37.0625,-95.677068&spn=54.269804,79.013672&z=4&pw=2[/URL]. So I … | |
[ATTACH]18100[/ATTACH] As u can see in this image, i have a link called "Done". The other contents are in an iframe window. These checkboxes are inside a form. What i want is.... when i press done in parent window,the form should be submitted in the iframe window. | |
Could someone please explain the line dealing with the array options[] array? I was trying to write it out with document.write(options[0]) but I end up with undefined output. Ultimately I would like to assign the values for width and height into it. [CODE] jQuery(document).ready(function($){ var $anchors=$('a[rel="enlargeimage"]') //look for links with … |
The End.