15,120 Topics

Member Avatar for
Member Avatar for sacarias40

i have a string like this: [CODE]location = '#http://www.website.com';[/CODE] how can i take off that hash sine? regards

Member Avatar for essential
0
141
Member Avatar for Vandithar

Hi, I have 2 frames. In left panel i have a hyper link. Whenever i click on hyper link (on the left panel) of the page should open in right panel of the frame. Here is the frame code. [code] <html> <FRAMESET cols="200,*"> <frame name="left" src="page.html"> <frame name="right" src="#"> </FRAMESET> …

Member Avatar for Vandithar
0
205
Member Avatar for itsjareds

Hi, I need to parse an HTML string received from an AJAX request. I wrote a function that places the HTML string into an unappended (not added) [ICODE]<div>[/ICODE], which opens the string up to the DOM hierarchy. However, when I try to access the elements of this [ICODE]<div>[/ICODE], I get …

Member Avatar for itsjareds
0
4K
Member Avatar for OmniX

I have javascript working on IE but not on FF, are there things I should look for inparticular? Inparticular that is not working is the "onclick function" I call. Thanks, Regards X

Member Avatar for essential
0
182
Member Avatar for coolest_987

Can anyone please help that [B]How to scroll div in middle of window when window is scroll?[/B]

Member Avatar for coolest_987
0
101
Member Avatar for itsjareds

I'm having a problem with adding onClick events to [ICODE]<a>[/ICODE] tags. The attribute is never added at all, but no errors are shown in the JavaScript console. I'm using Firefox 3.0.10. Here's my code: [CODE=HTML] <html> <head> <script type="text/javascript"> function setAJAXAttributes() { var domain = new RegExp("(" + window.location.host + …

Member Avatar for essential
0
128
Member Avatar for itsjareds

I'm trying to write a demo page for my site that works completely on AJAX. What I mean by this is that the page will stay the same, but load new pages by changing the <BODY> of the document. I'm writing a script that will take every link and decide …

Member Avatar for itsjareds
0
96
Member Avatar for swingingstars

Hi anybody know how to create this effect on mootools? [B][url]http://www.flashjuggler.com/files/image-vertical-menu/1029?ref=oxylus[/url][/B] thanks

Member Avatar for swingingstars
0
93
Member Avatar for cjay175

Hi there all, I want to grab information from an url with anchors and I suppose this can't be done with php, as ive been told and that it would have to be done with javascript. I am wondering if anyone knows the code to grab the url and anchor …

Member Avatar for cjay175
0
462
Member Avatar for coolmind259

Hi there, I am using a javascript code to refresh a page. <code> window.location.href=""; </code> this code refereshes the whole page and focus goes at the top of the page but I want the focus of the page at the same place where I perform refresh. Actually I am using …

Member Avatar for Airshow
0
253
Member Avatar for tanmoy_india

How to create a Rotating Image Frame with Navigation Menu like this:[URL="http://s3.amazonaws.com/satisfaction...Nav_inline.jpg"]http://s3.amazonaws.com/satisfaction...Nav_inline.jpg[/URL] like from the site: marthastewart.com what is the code for creating image rotation like this?????plzzzzzzz

Member Avatar for tanmoy_india
0
159
Member Avatar for Kelicula

I need to include a "variable" in my regex that will be different each time it is called. Very fustrated, this would have taken 2 seconds in Perl. Here is my code: [code=javascript] for (y=0; y < response.length -1; y++){ var _row = response[y].split(':'); var str = "_row[1]"; if(str.match("/^"+_inputText.value+"/i")){ _responseText …

Member Avatar for itsjareds
0
13K
Member Avatar for learnerasp

Hi there, I have a div tag and working fine till yesterday. Just now I found out a problem which has to be rectified quickly. I have a div tag. When time out is approaching then we need to pop up the message using div tag. Everything is working fine. …

Member Avatar for Airshow
0
171
Member Avatar for ganmo

Hello I've a question when creating a class with functions. e.g. [CODE=javascript] function constructor() { this.myFunc = function() { return "Hello World"; } } [/CODE] do I have to write the function in that way? this.funcName = function() for every function in that class? Because when I tried to write …

Member Avatar for Airshow
0
109
Member Avatar for Harutyun

Hello. I'm trying to get working some AJAX make statistics of links clicked. Using php and mysql as back-end. My choice is synchronous AJAX request to server using onbeforeunload event. I'm using synchronous request to be sure that browser sent request to the server before page is unloaded. With asynchronous …

Member Avatar for Airshow
0
140
Member Avatar for dexeloper

If, in Firefox, you go to [URL="http://www.incrowd.org.uk"]http://www.incrowd.org.uk[/URL] you'll see a signin page. The signin form is a table and should be spaced 35%/65%. However it is just taking up the space needed for the left label. I've got Firebug and the problem is the table is not taking up 100% …

Member Avatar for dexeloper
0
89
Member Avatar for arosemena

hi, im posting this because i cant find my problem, the thing is that my script works fine on Opera, Firefox, Chrome and Safari but it doesnt work on IE, i have the newest version of IE and have been trying everything please help the page is here (code that …

Member Avatar for arosemena
0
101
Member Avatar for sivak

if i click button in pqge 1 page 2 should refresh if i click page 2 button page 3 shoould refresh if i click page 3 button page 1 shoud refresh ... can any one tell me the javascript code for this plz

Member Avatar for kvprajapati
0
69
Member Avatar for Rein Valdez

Hello Daniweb, I am a newbie student. I have a problem where I designed my web page project and eventually it must contain a background song that will continuously play even clicking the links/pages. Is there any possibities of doing this? Thanks for the help. I will greatly appreciate your …

Member Avatar for almostbob
0
100
Member Avatar for Muincat

Hi! After many years of not doing any web design at all, I have a neighbor that has hired me to design a basic website for her business. I've set the page up with an iframe because I figured then I would only have to update menu links on that …

Member Avatar for Muincat
0
150
Member Avatar for cguan_77

hi, how to use the window onload event on javascript.. for example i got a function and i want that function to execute during page load. any ideas is greatly appreciated... thanks...

Member Avatar for koolhq
0
241
Member Avatar for sunilsinha

I have an iframe which is by default hidden. It becomes visible on a double click event and should be in editable mode. I set iframeObject.contentDocument.designMode='on' on body load event. But when i fire a double click event, iframe becomes visible but not in editable mode. How to achieve this …

Member Avatar for serkan sendur
0
102
Member Avatar for aashishn86

i need to write a function to remove consecutive slashses from a string i wrote this [code] for( i=0; i!=b; ) { var slashone = strname.indexOf('/',i+1) i=slashone var slashtwo = strname.indexOf('/',i+1) i=slashtwo //alert("index of slash one" + slashone) //alert("index of slash two" + slashtwo) if( slashone == (slashtwo-1)) { alert("Remove …

Member Avatar for aashishn86
0
145
Member Avatar for veledrom

Hi, I need an effect like in this linkhttp://markgrantcables.co.uk/shop/ I simply put a "?" mark next to a textarea. When mouse is over "?" then a little explanation box will appear. Thanks

Member Avatar for veledrom
0
113
Member Avatar for evilhackerz

plz tell me that how to open this ads function using a button in new window. Code: [code=JavaScript]function ads() { <script type="text/javascript"><!-- google_ad_client = "pub-6044026340890176"; /* 468x60, created 3/17/08 */ google_ad_slot = "3105157606"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="(URL address blocked: See forum rules)"> </script> …

Member Avatar for peter_budo
0
52
Member Avatar for RaniThomas

Hi, Can anyone suggest me the best browser (IE or Firefox) for working of JavaScript. If IE, vat version..?? And why..??? Im using Mozilla Firefox, But people are telling me that IE is best... Please suggest me.

Member Avatar for RaniThomas
0
114
Member Avatar for ssreevidya.m

Hi, I have a dropdown list in the headerrow of a gridview. When submiting data to the database, how can i check the value is selected or not from the dropdown list using javascript. Thanks in advance.

Member Avatar for serkan sendur
0
112
Member Avatar for tymk

The position and visibility of the image element is dynamically updated. The following code displays the correct dimensions in Firefox 3.0.10 and Chrome 1.0.154.65, but displays "0,0" in IE8. [code] var _img = document.getElementById("imageElementId"); alert(_img.width + ", " + _img.height); [/code] Any ideas on how to get it to work …

Member Avatar for essential
0
82
Member Avatar for Reggie32

I've worked up a site for a friend who wanted a horizontal scrolling site -I've managed to do it ([url]www.testdrive-site.co.uk/site2[/url]) for Firefox etc. but the links didn't slide the page across to the relevant 'page' in iE. I checked the site and now it validates but doesn't even load in …

Member Avatar for Reggie32
0
93
Member Avatar for creativeideas

I m using a script for randomly calling a text on my page using [code]Math.floor(Math.random()*(quotes.length))[/code] this code running perfectly when i click on my page or refresh it... is that possible to autorate the quotes after sometime u can see the live example [url]playbackgroup.com[/url] right panel in top box where …

Member Avatar for essential
0
81

The End.