15,120 Topics
| |
I am working on a search function on RoR that basically just has a cool visual effect when a user clicks the search button. Here is the code in my view for search.rhtml [CODE]<html> <head> <title>Tutor</title> <%= javascript_include_tag :defaults %> </head> <body> <h1></h1> <%= form_remote_tag :url =>{ :action => :search_results … | |
Hello everybody, I read this forum sometimes, but this is my first post :) I have a simple function for an intranet site that should make and return a XMLHttpRequest object in most browsers (including IE8): [code=js] function createXMLHttpRequest() { var xmlhttp = false; if (window.XMLHttpRequest) { xmlhttp = new … | |
I have this function: [code=javascript] function correctBookmark() { var title = "SERCO Benefits"; var url = "http://wwww.example.com"; if (window.sidebar) { // firefox window.sidebar.addPanel(title, url, ""); } else if (document.all) { //MSIE window.external.AddFavorite(url, title); } else { alert("Sorry, your browser doesn't support this"); } } [/code] If I use an onclick … | |
Hi all This site doesn't have a forum for end users and I'm sure that's for good reasons, but I'm a web designer doubling as an end-user for a particular client. Their website (built with dotnetnuke) simply does not want to load completely on my laptop, which has Windows 7 … | |
Just a small query..!! how can i stop user to enter future date.. or user can enter or user can enter future 10 days..! Thnx | |
Hi there Expert Designers, I am building a Web form for a medical institution, can you give me an advise in how to make this form look cool??[code]<%@ Master Language="C#" CodeFile="MasterPage.master.cs" Inherits="MasterPage" EnableViewState="false" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script type="text/javascript"> function OnClick1() { if (divCalendar.style.display == … | |
Hi All! I have been working on a site containing a single Paypal 'Buy Now' button, but testing has shown that it takes anywhere from 8-20 seconds to load the Paypal page once the button is clicked. Since there is no indication that the button was successfully clicked, or that … | |
I have downloaded the new version of FullCalendar but it doesnt work on IE whereas it works smoothly in other browsers. Can anyone help me with this problem ??? | |
I want to have a strip down the middle of the screen with my websites content as common on many web pages. I don't want to use background images to achieve the look, rather I was thing of having a div tag that would fill the entire height of the … | |
I have a small application that tries to launch a slide show for a set of pictures (jpg). It is implemented by a timed ajax routine to get the next picture filename and updating the image src field to show the next picture. The problem is that the actual down … | |
Hi, I have one client applicaiton writtn html, java script and AJAX and a remote server where I have a php script. Browser and remote server are deployed on two different machines. I want to execute php script uing ajax call with below code but it is loading php page … | |
While making the Administrator's Access page, I want to use editable gridview for insert/update/delete records from existing database.. any idea how to do this easily? (without hazards of drawing tables through html). I've checked out the following [url]http://www.ajaxdaddy.com/tablekit-sortable-tables.html[/url] But can't figure out how to link with running data from MySql … | |
Any idea why the iFrame resize code would stop working when I copy the code over to another page? It works fine here: [URL="http://www.rjt-online.com/photos.php"]www.rjt-online.com/photos.php[/URL]. But when I copy the code over to another page ([URL="http://www.rjt-online.com/video.php"]www.rjt-online.com/video.php[/URL]) in it's entirity, and just change the urls, it stops working? | |
Hello, I need to load JQuery UI tabs ajax call. I have made tabs and works well with my projects. I have problem in using ajax to reload one of the tabs using ajax call. When user select another thing in Drop down menu I have no way to reload … | |
| Hi All. Now I am really stuck here. I am trying to develop a calendar which hilights the days date (which I have done) but now I am on to the really tricky bit (for me). I need the calendar to change each month and because the different months have … |
Hi there, Just working on this page - [url]http://www.rjt-online.com/photos_titletest.php[/url] In Opera, the dynamic resize of the iframe isn't working correctly. As you can see in the code, I have set a minimum height of 200px so the iFrame should always be a minimum height but if the content requires it … | |
Hi I'm new to JavaScript. Looking to get some pointers and some discussion going. I'm making a simple JavaScript code where if you click some text it will make it the same as the other text in both cases. Apparently I am doing something wrong or my logic is flawed. … | |
Hi All, I may be trying to achieve the impossible, but I'm trying to populate 2 iframes with PHP generated variables via a javascript function. I all seemed do simple to begin with but trying to mix client side action with server side data I seem to be going round … | |
Below you will find my code for a web program that takes in changes and will change the last area. I am wondering if i need to make the last box a textarea? Also any help with the javascript will be greatly appreciated and any other ways to make it … | |
I'm having problems with some JS I'm working with. I'm trying to make a dynamic coverage calculator. Here is the URL of the JS engine I'm using: [url]http://www.lutanho.net/diagram/diagram.js[/url] Here is the code for the input frame: [CODE]<SCRIPT Language="JavaScript"> function Draw() { parent.rd=document.inputform.rd.value; parent.frames[1].location.href="db_display.html"; parent.thrw=document.inputform.product.value; } </SCRIPT>[/CODE] Now here is the … | |
What I want to achieve is getting below url through submission. [url]http://www.example.com/team1-vs-team2.html[/url] For that, I need two drop down list. Both for team (team1, team2) Both team1 and team2 are fetched from single field of table database. i.e. there is no difference between any drop down list. Now, once user … | |
Hi Wondering if someone could kindly help me with this small problem. I'm quite new to Javascript so not quite sure how to do this. I'm creating a live search functionality on a site which is all working fine. As I enter the letters it displays the search results as … | |
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 … | |
Hi there, hoping you can help me with a conundrum I have... What ive made so far is a page header image with 4 buttons to the side of that, which when clicked will change to a diff image (sprite image, triggered by some javascript I found on the net … | |
I'm trying to make a javascript game which counts mouse click for ten seconds. The problem is that the script ignores the onclick event somehow.Here is the code. [CODE] <html> <head> <script type="text/javascript"> var c=0; var t; var timer_is_on=0; function timedCount() { document.getElementById('but').value=c; c=c+1; t=setTimeout("timedCount()",1000); if (c>10) {alert('over'); c=0;} } … | |
Hello everyone, I have a Joomla website which are using VirtueMart. I want to watch the submit of a product (which is using AJAX) and when the request is succesful and complete then send a new XHR request to upload another part of the website. How do you think I … | |
Hey guys, what I want to do is have a page that only displays if javascript is enabled(or similar) in the sense that it tells users that js is not enabled and how to enable, what were doing is creating web forms and would only like them viewable if js … | |
Hi all, I have a code that will fetch out the data from database OnMouseOver. But it is working fine if don't add table on the div which will come OnMouseOver. If i try to show the fetched data in table then the code doesn't work. Please someone help me … | |
A simple progress bar that you can addUp with some common events' like redirecting the user to another source. And while they wait let this progress bar do some work for them... | |
I want to use java Script Variable in PHP Code. For Ex... Var a=10; <?php Use JavaScript Variable.How ???? ?> How can I use this variale in php ?????????? |
The End.