15,127 Topics

Member Avatar for
Member Avatar for mikeandike22

I am trying to collapse a sidebar with Jquery I have accomplished this with a simpler example but would like to incorporate it into a more complex document here is the code [CODE] <aside id="leftColumn" class="left sideBar"> <!--Thing I want to Collapse--> <nav class="leftNav"> <ul class="align_right indiBtn"> <li class="dashboard"><a href="#" …

Member Avatar for mikeandike22
0
198
Member Avatar for travist

Hey all I'm a student and I need to check a div's class. This seems like it should work but it's not... Help please! :) <script type="text/javascript"> function findout() { alert('function works'); var var1 = document.getElementById("div1").className; if (var1.value == "special") { alert("div1 has special as a style"); document.getElementById("div1").className = ''; …

Member Avatar for Airshow
0
103
Member Avatar for serkan sendur

i searched google to do this and mostly i found this solution: [CODE]mydiv = document.getElementById('FirstDiv');while ( mydiv.firstChild ) mydiv.removeChild( mydiv.firstChild );[/CODE] instead of doing such iterations, i basically did this and it worked successfully: [CODE]document.getElementById('FirstDiv').innerHTML ="";[/CODE]

Member Avatar for asdasdasdasdfsd
0
119
Member Avatar for eswar.aspire

hello, Please any one send me sample code,... 1)How to embed the flash movie in iframe using swfobject in javascript? 2)How to send parameters from Iframe loaded with flash to that flash movie? With regards, Eswaran Saravanan, University west, sweden.

Member Avatar for eswar.aspire
0
188
Member Avatar for jbhorne

I'm having a problem with a navigation map that uses javascript and CSS to shift a sprite. The sprite image is located at [url]www.eagleonedims.com/images/navmap.jpg[/url]. On each <li> rollover, I need the ENTIRE sprite shifted by 88px to account for the overlapping effect. The page in question is located at [url]www.eagleonedims.com/index2.php[/url]. …

Member Avatar for jbhorne
0
173
Member Avatar for router.exe

I'm trying to display a progress bar or animation for an update panel that takes a while to load. The update panel is housing a chart that uses multiple chart areas, and the code behind is building these chart areas during the update. I'm not sure what I'm missing using …

Member Avatar for router.exe
0
2K
Member Avatar for sharonig

Hi, I have an input element on a form. When I open a popup form and then close it, I try to put the focus back on my input element by using the focus() method. However, that fails and it doesn't get focus. When I press tab to get out …

Member Avatar for Taywin
0
86
Member Avatar for kiran@kumar

hi friends iam kiran i have a doubt in javascript. In asp.net we have a flushing concept.it works fine. But i want that same flushing concept in javascript. Exact Requirement: From my database i got 1000 records to javascript function. then here i am open one js window and iam …

Member Avatar for kvprajapati
0
65
Member Avatar for persianprez

I'm sure this is simple but here is what I need to do: I want to change a variable within the source url. Heres an example of what I'm trying to say: [CODE]<script type="text/javascript" src="url.com?lang=en&X=word1&;"></script>[/CODE] This works fine, but I want the variable X to be elsewhere, like this: [CODE]<script …

Member Avatar for persianprez
0
331
Member Avatar for yopirates

hey guys! onload function is working in window.open! but it is not working in .showmodaldialog [CODE]newwindow2=window.open('app.html','app','Width:700;Height:350; modal:true;'); newwindow2.onload=function() { alert("hello"); } [COLOR="Green"]This works [/COLOR] newwindow2=window.showModalDialog('app.html','app','dialogWidth:700px;dialogHeight:350px;dialogTop:200px; dialogLeft:200px;resizable=no;'); newwindow2.onload=function() { alert("hello"); } [COLOR="Red"]Not working [/COLOR] [/CODE]

Member Avatar for yopirates
0
949
Member Avatar for shadiadiph

is there any easy way to set a cursor to a div so that you can type in a div onclick?

Member Avatar for lambing
0
659
Member Avatar for andrewliu

Hello, I have a button that counts the number of clicks. when it is clicked, number goes up, and the image disappears. but I want it to show the image again when it is clicked, but can't be clicked after the first time is clicked. I already have this script …

Member Avatar for andrewliu
0
124
Member Avatar for dennishall

Hi: I embedded my Zen Cart store into my website. I have managed to get it working in IE by using the <OBJECT> tag. Why should I do this you ask? My website uses AJAX to load the pages into a div AND my storefront is not in the same …

Member Avatar for dennishall
0
110
Member Avatar for basilix

Hi... I'm new here! does someone know how can i get a javascript variable from jsp? I've tried some ways but no one works! :icon_sad: please help!

Member Avatar for basilix
0
253
Member Avatar for djcrab

I'm in need of some more help for something quite simple. All I'm trying to get to work is the (onmouseover) portion of the below. I'm sure there is a typo somewhere that I'm not seeing. I've got to quit doing homework when I'm exhausted. Just a little hard after …

Member Avatar for Troy III
0
115
Member Avatar for something78

Hi, I am working on a robot project, that is required to create a website to control the robot via serial port.. The website is plainly html, no linking to database is needed... I have no idea how and what language to use and can JavaScript communicate with serial port? …

Member Avatar for Taywin
0
124
Member Avatar for filch

I am still learning jquery but I am wondering why this code does not work. I have a select field called item_name and a hidden field called amount. Based on the selection in item_name, I want to set the value of the hidden field (amount) to a set value. For …

Member Avatar for hielo
0
113
Member Avatar for MartinRinehart

There is Firebug for Firefox and some very interesting developers toolsets, such as Dragonfly for Opera and Google's Developer Tools. Even MSIE's Developer Tools look like they have some possibilities. But is any of this documented, anywhere? All these seem less straight forward than debuggers I've used in the past.

Member Avatar for Taywin
0
90
Member Avatar for george61

I need javascript to trigger the combination of ctrl + minus. Is it possible. I need this because the design of the webpage I'm working on is looking much better at 83 % zoom which couldn't be achieved by CSS zoom property in mozzila firefox.

Member Avatar for Taywin
0
225
Member Avatar for herosuke

hi I need help regarding my issue on my site [url]http://citiguide.ph/home/[/url] try to click on the bullet of • Accommodations (1) in the categories it will show the sub categories the problem is when you click the main link it doesn't work it should go directly on the particular url. …

Member Avatar for Taywin
0
52
Member Avatar for hunter8

Keep getting following page error on my laptop but not on my desktop can anyone help . unable to get complete web page Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR …

Member Avatar for Taywin
0
88
Member Avatar for DrViolet

I have an ajax paginate part in my php file. I don't need to have every page remembered by the back button, but at least the last visited. In Firefox this works great. For example, I go to page 5, ajax changes the content and page number 5 is highlighted. …

Member Avatar for Airshow
0
99
Member Avatar for thejoej

I use a search engine on my web site [url]www.barmirrors.com[/url] I got it from Search Site Pro. It opens the search results in the same window thus making it hard to get back to where you came from. I would like the search results to be dispalyed in a new …

Member Avatar for thejoej
0
204
Member Avatar for tldorr

I have built what I think is a nice contact form. I want to add a cookie to this form so that if a visitor has already completed this form, the browesr recognizes the user and sends them to a page that states they have already filled out this form. …

Member Avatar for tldorr
0
104
Member Avatar for stevemail

Hi, I would an script to give a free PDF as a gift: 1. get an email on a box on my website (like the newsletter subscriptions) 2. send an email to subscriber, with a confirmation url 3. after confirmation, the user will receive a new email, getting a PDF …

Member Avatar for Taywin
0
54
Member Avatar for ptemedia

Hi. I am making an asp website to sell items. On the details for individual products page I have an image and 3 smaller ones beneath. Clicking on one of them will bring up a larger image on the screen. However, at the moment, I have to have 4 images …

Member Avatar for Airshow
0
210
Member Avatar for vimax

Hey. I am new to webprogramming..so sorry if this question sounds stupid. I use the function setTimeout() and document.all[id].style...etc to take the value I need error: Matched Pattern: "/\bsetTimeout\s*\(/" else{parent_window=opener;} parent_window.setTimeout(function(parent){parent.WebRankV2.customize(1);},100,parent_window);return true;} my code is: function customizeWebRank(){var parent_window=null;if(opener&&opener.location.href.indexOf("extensions.xul")!=-1){if(opener.opener&&(opener.opener.location.href.indexOf("browser.xul")!=-1)){parent_window=opener.opener;} else{var window_service=Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator);parent_window=window_service.getMostRecentWindow("navigator:browser");}} else{parent_window=opener;} parent_window.setTimeout(function(parent){parent.WebRankV2.customize(1);},100,parent_window);return true;}

Member Avatar for Taywin
0
229
Member Avatar for djcrab

Here is what I've wrote for an assignment..I would simply like to add a space between the song name and year and enclose the year in parentheses. Thanks yet again. Jake [CODE]<script type="text/javascript"> <!-- HIDE FROM INCOMPATIBLE BROWSERS var favSongs = new Array(19); favSongs[0] = "Falls Apart"; favSongs[1] = "Monster"; …

Member Avatar for Taywin
0
153
Member Avatar for gchurch

hey all i need to check to see if my check box is checked, here is my code... [CODE]echo "<form id='form1' name='form1' method='post' action='".$href."' onsubmit='[COLOR="Red"]return checked_room()[/COLOR]'>"; while($row = mysql_fetch_assoc($res)) { $roomName = $row['RoomName']; if(!in_array($roomName,$taken_array)){ echo "<div id='RoomBorder'>"; echo "<table width='100%'><tr><th colspan='2'>". $row['RoomName'] ."</th></tr>"; echo "<tr><td colspan='2' align='left'>".$row['RoomDescription']."</td></tr>"; echo "<tr><td><b>Max Guests …

Member Avatar for fornandakishore
0
304
Member Avatar for mushget

i want to create a form containing : 1. drop down list of countries (that i managed to create) 2. action on selection (redirect to a link on country selection) 3. post the selected option into a text box below and remeber (if possible) The remeber part is optional . …

Member Avatar for Taywin
0
88

The End.