15,120 Topics
| |
Hi, I want to create quick preview window for images listed in my website. For example: if you go to this site [url]http://www.templatemonster.com[/url] there are little images on the right end side. When mouse over on any image, a bit preview window opens. I want something like this. How can … | |
I'm in a situation where I have to pass javascript variable to php without redirect (no $_get[]). The code I'm working around is like [ICODE] <script> var screen_width=screen.width </script> <?php $screen_width=[B]javascript_variable[/B] ?> [/ICODE] I want to pass value of this variable to a new php variable.Please suggest me a way … | |
Hi, I'm amateur in Ajax programming.:icon_smile: I wrote a sample project and did this : First I put three controls to the form (script manager, update panel and update progress) then I put two textboxes and a button to develop kind of login page. When button pushed, first I check … | |
Hi , I am developing a web page . For this i am using Javascript embedded in html. In the application ,the user can input data via interfaces in the page which is chosen and read from a master xml file , the chosen data then needs to be stored … | |
I have what I hope is a simple question. I found a js that does exactly what I want, except that I want the table 'closed' when the page is loaded, and opened when the +/- is clicked. I'd like this in Java. (assuming that non-java users would see the … | |
Hi people!!! Why this little block do not work in Firefox? [code=html]<html> <body> <input type="button" value="teste" onclick="javascript:alert();" /> </body> </html>[/code] Thanks for any help. Best regards. | |
hey, i am working on a webdesign for my boss and i was doing some scripting cause he wanted to be able to "zoom/enlarge" something using a simple zoombutton. the code i wrote works perfectly in firefox en safari, but in ie7 and ie8 it just doesn't :( [CODE=prototype]var checker=true; … | |
What's wrong? Why don't work stop funkction? I think that the poor turn to the function, but otherwise I do not know ... [code=html]<html> <head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function() { //Paleidimo funkcija var time_ref = setTimeout(function() { var time_ref2 = setInterval(function() { $('#time_now').load('time.php?id='+ Math.random()); }, 1000); }, 3000); //Laiko … | |
Hi, with Mozila everything work, but with IE didn't work. Page didn't reload. What's wrong? [code] <html> <head> <script type="text/javascript"> setInterval("sendRequest()", 1000*2); function createRequestObject() { var req; if(window.XMLHttpRequest){ // IE 7, Firefox, Safari, Opera... req = new XMLHttpRequest(); } else if(window.ActiveXObject) { // Internet Explorer 6, 5 req = new … | |
Ok, I will be honest - my first javascript challenge is a little hard, but has been handed down to me from my uncle. He doesnt know how to do it, and thinks a fresh mind might be able to make sence of it. Fresh meaning fairly new to js... … | |
Hello sir, I have a problem with Javascript dropdown menus. There is a flash animation just below my javascript menu. When i hover on the javascript menu the dorpdown goes behind the flash animation. Is there any solution to rectify this problem? Thanks | |
Hi All, I want to use jquery overlay in one of my dynamic page. Well, let me explain the case in detail; Actually i have implemented in my site, but it works for only one id. Ok, here is the case (1)I have a news page, which is dynamically loaded(used … | |
I saw a JQUERY that has FADE IN and OUT but what if I will need to fade in and out 3 images? is there available plugin for that? Thanks for the reply! | |
I'm having difficulty loading images via Ajax on a site that I've been working on. I'm performing the ajax by using the Request.HTML object of the MooTools framework. Basically, I'm just passing some parameters to a php script which outputs some image tags and then I insert that HTML into … | |
hi friends, am a student,pursuing my graduation in computer application... i am in my efforts to perform a coding for a chess game between two persons who play with each other from different computer systems through internet. i want to know about how i can code in such a manner … | |
Hi, I have problam whit jquery. Whit IE work everything OK(work fine), but whit Mozila or Opera i have problam: Hirs function "sec" work, fine, but secont in file index2.php "sec3" don't. index.php [CODE] <html> <head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function(){ var sec = setTimeout(function() { $('#sec').load('index2.php?id='+ Math.random()); }, 1000); … | |
Hey All im kinda new with javascript and I have a lil script made but need to add to it but kind of lost on what to do. Its a gallery that works fine but i have a part where there are two images a before and after. one image … | |
i went to tizags ajax mysql tutorial(how to update mysql with ajax) i dont understand it seems like that example is wayyyyy too long i cant comprehend it it makes no sense. does anyone know of a good way to explain to me how to update / insert a value … | |
Hi all, Having an issue with "selectedIndex" (for a select field). Basically I'm creating XML code via a server-side PHP file and retrieving this code through AJAX. Once I retrieve the data, I'm placing it in their appropriate fields. This is the XML output: [CODE='XML']<response> <data> <row> <item>ProductEight</item> </row> <row> … | |
hello people, here is a piece of AJAX that i have used in my JS file. It's working fine with IE but somehow the page does not load in Firefox. [CODE]function secondRead(){ if(xmlHttp.readyState == 4){ if (xmlHttp.status == 200) { try{ var status = xmlHttp.responseText; alert(status); status = status.split(":")[0]; status … | |
Hey I have a div on the left of the screen to invite your friends. I am having trouble find a simple script where when I click on the div, the link works but then the div moves offscreen. [url]http://alturl.com/4iai[/url] Here's the div: [CODE]<div class="inviteTab"> <a href="importer/index.php" rel="gb_page_center[750, 500]" title="Your … | |
I have a problem. I have a page with a default avatar image and a input box below it. Its a form. The thing i want to do is that, i want the default avatar image replaced after a user selects a image from the input tag. my code is … | |
Hi, I need to capture the delete key event onclick on DIV. I wrote the below code using jQuery. [code]$("#DIVID").keydown(function(event){ // delete key works with IE if(event.keyCode == 46) { // delete code goes here }[/code] This is working fine in IE but not on Mozilla, Safari. Please do the … | |
Hi all, Having a strange issue here. To help explain my situation, I have some images I'd like to include. This first image is of one of two user input forms. Notice in the top left of the picture, the second tab is selected. [IMG]http://www.abexal.org/image_1.jpg[/IMG] The arrow is pointing to … | |
This is kinda driving me crazy, maybe its just one of those days. I have this If loop that I feel like its extremely redundant but I cant find a way to make it shorter [CODE]function validateYear (valfield, infofield, required) { var stat = commonCheck (valfield, infofield, required); if (stat … | |
Can anyone help me and provide a way to list files in a directory using javascript. This is on the server (NOT CLIENT). For our purposes we have built a simple search facility (that all we need) and the code takes data from an array. All we want to do … | |
Hello, everyone! I'm fairly new to this forum, but I spent some time mining it for information. Unfortunaltely, as far as I have searched it I was unable to find an answer to my question. Googling hasn't satisfactorily answered my question also. Here's the goal: [LIST] [*]- user fills in … | |
to start with .. lemme ask u .. whether i can use <?php ?> inside <script ></script> anywhere and also if i can use html tags there????????????????????????? | |
I would like to know how to display XML in a browser. Also if possible to maniuplate the XML elements. Havent touched based with XML in awhile and still abit rusty. Thanks, Regards X PS: Below is the listed code and below is the wished output. Code : [code] <?xml … | |
I'm trapping the onKeyPress event of a textarea, and I'm wondering if there's a way to prevent the key from also being typed into the textarea if it's a certain key. I have tried stripping off the last character from the value property, but it seems that the character is … |
The End.