20,316 Topics
Does anyone have a clue as to how you would impliment lets say : onclick="MM_goToURL('parent','index.htm');return document.MM_returnValue" inside lets say this: <script type="text/javascript" language="JavaScript1.2"> <!-- stm_bm(["tubtehr",430,"","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0],this); stm_bp("p0",[0,4,0,0,3,2,0,0,100,"",-2,"",-2,90,0,0,"#000000","#000000","",3,0,0,"#ffffff"]); stm_ai("p0i0",[0," Products ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#666666",0,"","",3,3,0,0,"#ffffff","#ffffff","#ffffff","#ffffff","8pt Arial","8pt Arial",0,0]); stm_bp("p1",[1,4,0,0,0,3,0,0,100,"progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16,enabled=0,Duration=0.10)",-2,"",-2,100,2,3,"#000000","#ffffff","",3,1,5,"#666666"]); stm_aix("p1i0","p0i0",[0,"Order Catalog of Courses","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#000000"]); stm_ai("p1i1",[6,1,"#666666","",0,0,0]); stm_aix("p1i2","p1i0",[0,"AUDIO CDs - coming soon"]); stm_aix("p1i3","p1i1",[]); stm_aix("p1i4","p1i0",[0,"DVDs - coming soon"]); stm_aix("p1i5","p1i1",[]); stm_aix("p1i6","p1i0",[0,"VHS TAPES …
I am creating a code in php to read the content of a file and save it in a php array. this is my code: [CODE] <?php $myFile = "isbn.txt"; $fh = fopen($myFile, 'r'); $i=0; $ans=array(); while(!feof($fh)) { $theData = fgets($fh); $url='https://isbndb.com/api/books.xml?access_key=RPGYD5PC&index1=isbn&value1='; $url1=$url.$theData; //echo $url1; $ans[$i]=$url1; $i++; } ?> [/CODE] …
There are several categories, and in each category there are pictures. When you choose a category, all picture names are listen (as a list using Ajax). I want to make the list draggable, so that I can change the order of the pictures. Somehow the Drag 'n Drop function does …
Hello, I have a problem with my code and can't see what the difference can be. I am trying to change my JLabel text via a timer using .setText I have 2 small apps to demonstrate my problem. 1 - I have a JLabel within a JPanel within a JFrame, …
Hey all, I had posted this issue previously regarding my Ajax site navigation module not loading correctly. It would load on certain parts of the site and not others. After some research I have discovered that I need to redirect from "www.mydomain.com" and make a call to "mydomain.com" instead. I …
can someone tell me how to validate the form, in a way where the text comes below the field to be validated... unlike alerts please give an example for a textbox and a dropdown list... if possible... thanks...
Hey all, Got a tricky little problem here: I wrote a bookmarklet and a php script to email the current url of the page I am on to myself. The bookmarklet looks like this: [code]javascript: var url = window.location.href; var user = 'myemail@email.com';window.open(myserver.com/mailurl.php?url=" + url + "&user="+ user);[/code] The php …
can anypone explain me string builder and string with good example ?
I have a large xml file which contains news, articles, reviews, etc. I wanna use AJAX and get only news displayed in a [code]<div>[/code]
Hello In my asp page I successfully extracted records from my database. The records are written in Hebrew. I used <% @ codepage=65001 %> and <% Response.Charset= "utf-8" and the display worked ok inside HTML. Inside my asp code i joined all the values to one string using "x = …
So I'd like to get rid of the insecure warning I get in IE6-8 whenever I'm on an HTTPS page like this one: [url]https://checkout.netsuite.com/s.nl/c.659197/n.2/sc.37/.f?login=T&reset=T[/url] I can't tell what's not loading, but I'm assuming the two errors I got in Companion.JS v0.5 in IE7 are clues: 1) 'jQuery' is undefined (line …
[code=html]<html> <body> <script type="text/javascript"> var str = "r'i`t\"291134837u"; var invalidChar = new RegExp("[',\",\`]","gi"); document.write(str.match(invalidChar)); </script> </body> </html>[/code] I just want my regular expression to match a backslash. Thats all. Tried giving [\\]. Aint working. Tried[\x5c] not working. But this hexadecimal character match is working for all the other characters. Its …
this thing is being seen on many websites...! while page is loading.. user see a page loading Icon until the page loads..!!! i dont knw wht exactly it is called.?? i hope u understand what i mean..!! kindly provide some links or script so that i can us e it …
Hi, this is my problem: 1. There are two div elements in my page. [COLOR="Red"]2. When the page loads only one is supposed to be visible.(This is where i'm getting stuck[/COLOR]) 3. There are a series of checkboxes. 4. On clicking on one particular checkbox the first div element must …
this prgram working in ie well but in mozilla mma() ajax function working the second one not working in mozilla.. plz help me [code=JavaScript]function getHTTPObject() { if (window.ActiveXObject) return new ActiveXObject("Microsoft.XMLHTTP"); else if (window.XMLHttpRequest) return new XMLHttpRequest(); else { alert("Your browser does not support AJAX."); return null; } } function …
Hi, i am newbie of java script. i faced a problem in java script which is when i want to prompt a message box and enable to let user to type their own password. but i found that a problem is when the user type their own password in the …
can anyone suggest of a place i can look for Styles for a Business Web Application... thanks...
Hi, I am trying to validate textbox inside gridview footer template as the following: [ICODE] <script language="javascript" type="text/javascript"> function validate(obj) { if (document.getElementById(obj).value=="") { alert("no data entered"); document.getElementById(obj).focus(); return false; } return true; } </script> [/ICODE] In the code behind, I added the following: [ICODE] Dim InsertN As TextBox = …
Hi, This is a code of Dynamic Drop Down Option. If I select Item Code It Shows Item Name and vice versa. I need to fill option from MySQL Database. Can anybody help me out. please . [CODE=html]<html> <head> <title>Gender Drop Down Test</title> <script type="text/javascript"> function selectItem(value, id){document.getElementById(id).value=value;} </script> </head> …
[code]<script> ..........//some code// //here s will be incresed in runtime var oC2TD = oTR.insertCell(1); oC2TD.innerHTML = "<input type=text class=text_box2 autocomplete=off name=txtCatgName"+s+" id=select"+s+"/>"; alert(document.getElementById('select'+s+'')) [B]//for above alert iam getting null //but when i replace "select" with text box name like txtCatgName //iam getting object and i replace in below line too, …
Sir, I am having trouble with a piece of JavaScript code that expands blocks of text. For example, when you click More >>, the text under it will expand. And << Less it will collapse. I can get that to work. I can also get the data out of the …
Hi Guys & Gals, I have a JS file for an AJAX app that works great in Firefox, Chrome, and Opera, but not in IE6 or IE7. The JS file is located here: [url]http://www.russwilliamsart.com/scripts/imago.js[/url] and the XML file it grabs info from is right here: [url]http://www.russwilliamsart.com/gallery/Giclees/gallery.xml[/url] I think the problem …
I spent last 10 hours trying to figure out how to extract attributes from this: [CODE]<yweather:wind chill="76" direction="230" speed="8" />[/CODE] RSS: [url]http://weather.yahooapis.com/forecastrss?p=78620[/url] [CODE]rsstxt1 = response[0].getElementsByTagName("yweather:wind").item(0).attributes[0].value;[/CODE] doesn't work. And I tried everything else. [CODE]response[0].getElementsByTagName("ttl").item(0).textContent[/CODE] works fine Just can't get any attribute values from tags with values instead of contents. :( Please …
hi guys, if i want to have a streaming video on my site, would it be possible to do by javascript code alone or what are the methods to do this? any software that is needed on the server? any input is greatly appreciated? thanks...
hi friends, hi have an project i design a web page on the web page maker and i want to run exe file direct from my web plz help me out how can i do that it have the option of java script and html codes plz help me out
I have been trying this also and can,t get it to work thought i had the right code.Please help
Hello How to prevent Javascript Menu from getting hidden under Flash Video (SWFObject ). I am using Open Flash Chart and the chart is displaying fine in my php shoppping cart, but my javascript menu is getting hidden behind the Flash Chart. How to correct this problem? Here is my …
Hi everyone, i will try to explain this the best way i can. I am building a shopping website and i need to display new items and pictures on the home page in some kind of gallery that scrolls left to right on mouse over. The gallery fetches images from …
Hi all, How I can show the Home Icon and Favorite Icon on the Web Page. Please Also Tell me about the Slider in which I put the Home and Favorite Icon so anyone can make my website as their homepage or favorite page easily. Thanks.
Hi again. I need to make tooltip work on mouse click, so when I click on the button for an example, a popup info should appear.
I'm using a script called Ajax Upload to upload files. I have a div that has a php script inside so that when the page loads I can see the listing of all the files. My problem is that I want to update this list of files without having to …
I'm using a script called Ajax Upload to upload files. I have a div that has a php script inside so that when the page loads I can see the listing of all the files. My problem is that I want to update this list of files without having to …
I got a swf loading in a div. I need to force his reloading. So, I'm trying this. Anyone has any idea? One that works? I would apreciate it. =) [code=javascript] myelement = (( document.getElementsById ) ? document.getElementById( mapcontainer ) : (( document.all ) ? document.all[ mapcontainer ] : document.layers[ …
Hi, I want to know if there is a way to prevent users from manually typing in the URL and entering the page after they have already signed out? I was able to make the back button disabled. Let's say if they have already click logout and when they click …
i have a form being filled. i don't want the user to be able to submit twice. how can i either prevent the user from going back or disable the submit button? i am currently disabling the submit button but when the user clicks back(from the next page) it asks …
hi all, Im doing in-house project ... Im creating form which has a drop down box for gender.... and also a document which contains "he/she" type... when i select the male option in that dropdown box the doc which contains "he/she" should autopopulate to its corresponding gender and generate it …
Hi, I'm not entirely sure which forum to post this question because I cannot determine whether it's a MySQL, Joomla, or PHP issue. But I will post it here, as some of you may know about this. I am using a custom built "user" table in my MySQL database, and …
Hi, I've been designing a web application that scales to fit the available window space in the web browser so that there is no need to use the scroll bar (and the whole point of the application is to fit the window). I've already figured out how to catch resizes …
Been trying to get a mouseover dropdown menu to work when I copy and paste the code all I get is the code where the buttons should be.When it does work I go to preview I get script errors.I am new to this html thing I am using frontpage 2002.This …
hi everybody i am new in javascript .i hope all guys helpful.i have my site [URL="http://www.tonerquestsite.com"]tonerquestsite.com[/URL].my javascript is not working for IE can you help me out .my css file is [code=css]/* -------------- layout ------------------ */ /*qmfv{visibility:hidden !important;}*/ qmfh{visibility:visible !important;} .leftNav {position: relative; z-index: 0;} /*!!!!!!!!!!! QuickMenu Core CSS [Do …
Hi, I have a slideshow set up on my site which allows users to click back and forward to view images - the transition is an animated slide to the next image. But I now want to set up an automatic fade, which fades in the next image on a …
I have a table displaying the list of vendors from the database. I have to select one row (vendor details). For VendorID: ------------------------Start--------------------- <table> <tr> <td>Name</td> <td>Telephone</td> <td>Email</td> </tr> <%do while not rs.eof%> <tr> <td onClick="HighLightTR('#cccccc','cc3333');"><input type="hidden" name="vendorid" value="<%=rs("VendorID")%>"><%=rs("Name")%></td> <td><%=rs("Tel")%></td> <td><%=rs("Email")%></td> </tr> <%rs.movenext loop%> </table> --------------------------End------------------------- The page also has …
what am i doing wrong here? what i want to do is make two menus work together to show me a result.. please help ... [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> <script src="SpryAssets/SpryData.js" type="text/javascript"></script> <script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script> …
ayesha789 asked me how to use my smooth scroll script in code snippets section. i created an example for him here : htmlpage : [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> <script type="text/javascript"> function elementPosition(obj) { var curleft = 0, curtop = 0; …
Hai Friends? how to get upload image file size in javascript? Please help me.........
Hello friends.. I want to destroy the session when user click on Back button or browser... is it part of Javascript or Php..? i think its just a small Query..!! Thank u..!! :)
I have one table which is generated using javascript dynamically. In have write one function which creates table dynamically for IE i have writed [B]mytable.onClick=some_function();[/B] for onclick event it works fine. But when i generate more than one table dynamically using the same function then onclick does not work. If …
Hello, I want to make a dialog, with CSS where the borders are like FB Dialog borders! [url]http://b.static.ak.fbcdn.net/imgs/pop-dialog-sprite.png[/url] In CSS I want to use somewhat like the above given link's picture to make a dialog, please help me! Check out the attachment too! Regards, Akshit Soota
I have a Flash movie on a web page and I want to send parameters to it with JavaScript to have it go to a selected frame. The AS3 code receives its information via an ExternalInterface API. The following code parses the URL argument (?page=x) and I want to send …
hi there, im a php trainee and really need a help in my javascript ..anyone? i have my code here that injects a patient name ..i need to know if the patient is already injected..if so..it should not be allowed and should pop an alert that say...'sorry the name has …
The End.