15,116 Topics

Member Avatar for
Member Avatar for dananos

[quote=WolfPack;194658]Feared as much. :sad: Guess the only option is to copy it to notepad and view it there. :cheesy: Thanks Dani. :thumbs up:[/quote] Hey, anybody know any javascript for scrolling a page up to the top?, I know I could use <a href=#> links - but I guess theres a …

Member Avatar for MidiMagic
0
128
Member Avatar for livilulu

Good Evening, I am looking for some help with code that I found on Dynamic Drive here: [URL]http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm[/URL] I am trying to use it on this page: [URL]http://www.amandapopephotography.com/gallery2.php[/URL] here is the code I am using: [code=html]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <head> <title>Amanda Pope Photography</title> <meta name="keywords" content=""> <meta …

Member Avatar for rsatyajit77
0
209
Member Avatar for LucidNonsense

hi there i've built a web page that use CSS/XHTML/JavaScript and bit of FLASH. I have a MP3 Player embeded to the header. I want the header to be allway displayied, so i thougght Iframes would be my best bet. So i set up my Iframe and needing my Iframes …

0
65
Member Avatar for adaykin

Hey, I am trying to get a sound to play when the user moves the mouse over on of my links. I don't know javascript, I just copied this code from a book, so it's probably something simple. Here is my code: [CODE]<script language="JavaScript" type="text/javascript"> function playSound() { src="misc020.wav"; } …

Member Avatar for hbk619
0
453
Member Avatar for Brent.tc

My javascript does not work in any browser except windows IE... WHY Please just give me an example of some javascript that works in mozilla Here is example of my source... [code] <script> var x = 400; alert(x); alert("This works in IE, but not Mozilla, why!!!!!!!!??????????"); </script> [/code]

Member Avatar for Brent.tc
0
117
Member Avatar for bhuvan83

hi every1 i m using jsp in jbuilder9 to create a website i have 2 drop down button a1 and b1 when i select a option in a1 the values of b1 comes if i change the value of a1 then the value of b1 also changes. then i have …

Member Avatar for bhuvan83
0
154
Member Avatar for Brent.tc

My javascript does not work in any browser except windows IE... WHY Please just give me an example of some javascript that works in mozilla Here is example of my source... [code] <script> var x = 400; alert(x); alert("This works in IE, but not Mozilla, why!!!!!!!!??????????"); </script> [/code]

Member Avatar for darkan9el
0
79
Member Avatar for poojas

hello....... i have a table that stores the quantity , unitprice , total values in the text fields......... actually this total column should be calculated automatically...when i use a onFocus function on tht text field i.e total=qty*unitprice ....... this code works fine when the text field in all the rows …

Member Avatar for MattEvans
0
135
Member Avatar for Racoon200

I request a ball that can be thrown to the 'walls' of the webpage and it will bounce, like in real life. With real physic constants. [URL]http://www.freewebs.com/racoon200[/URL] There i have a ball, but it only bounces vertically, I want a ball that you hold click on it to drag it, …

Member Avatar for Racoon200
-1
140
Member Avatar for johnroach1985

Hi I want to write such a javascript that when it hovers over a div (any div) it will automaticly COPY ( to clipboard ) the text within the div... Any ideas?? I am just stumped... Thanks in advance...

Member Avatar for Inny
0
417
Member Avatar for BobbyRags

I've included the image as well as the HTML and CSS. The top of the screen (masthead) is giving me a problem. May be becuase of the image. Can someone give me a hand? Thank you very much! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>BobbyRags Personal Homepage</TITLE> …

Member Avatar for MidiMagic
0
290
Member Avatar for sendkamal

Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the expandable row, the hidden row is made visible with css. The problem is when i sort the rows, …

Member Avatar for MidiMagic
0
101
Member Avatar for Inny

How To write in a persistant cookie for this? [code]<script language="javascript"> function showimage() { if (!document.images) return document.images.pictures.src= document.mygallery.picture.options[document.mygallery.picture.selectedIndex].value } //--> </script> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><form name="mygallery"><p><select name="picture" size="1" onChange="showimage()"> <option selected value="http://i93.photobucket.com/albums/l72/2Xist_2006/greenbanner.png">Green Banner</option> <option value="http://i93.photobucket.com/albums/l72/2Xist_2006/bluebanner.png">Blue banner</option> <option value="http://i93.photobucket.com/albums/l72/2Xist_2006/pinkbanner.png">Pink Banner</option> </select></p> </form> </td> </tr> <tr> <td width="100%"><p …

0
54
Member Avatar for bubblegum007

I want to simulate some kind of overlapping scroll areas. I have (actually, i would like to have..) an area which scrolls over the X - axis. But half of this scrolling area is in another scrolling area, over the Y axis. It's like 2 rectangles 1 X 2, one …

Member Avatar for bubblegum007
0
74
Member Avatar for marylove2007

Help Plzzzz!!!!!!!!!!!!!!!!!!!... > A palindrome is a number or a text phrase that reads the same backward and forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. > ,mvcxmzxWrite a script that reads in a five-digit integer and determines whether it is …

Member Avatar for marylove2007
0
114
Member Avatar for Racoon200

Hi. I want a "digital camo background for my webpage, and fast to load, so somthing ocured to me... I could get (with your help) a js code that will place 3 diferent bmp images randomly and repeatedly through the background. thanks.:mrgreen:

Member Avatar for GreenDay2001
0
43
Member Avatar for mosarie79

I just started my first web design job and am a little confused. The company I am working for uses templates to design the e-commerce website. The developer is able to add more code to the templates to further customize the site. The templates seem to use VB for the …

Member Avatar for MattEvans
0
288
Member Avatar for booner

Is it possible that someone could brief me/point me in the right direction so that I can get a javascript library that will be linked with intellitext. basically want something that will find keywords within the current page and turn those keywords into defined hyperlinks so if i had 'basically' …

Member Avatar for xoron
0
58
Member Avatar for Racoon200

:mrgreen: I don't know javascript. But the thing is, i need to do the following challenge with that language. Make multiple css styles. styles are different combinations of these 2= gradient, font color. What I want to do is for example, you click a thumbnail, that will open a "javascript …

0
72
Member Avatar for theLord

A warm Hi to all members to of the Dani Web community! I am facing a problem with window events in javascript. In my code I am creating an javascript object using a constructor and i have created all its functions using 'prototype' . Here is a sample code [B] …

Member Avatar for theLord
0
143
Member Avatar for rpjanaka

hi all, I want to disable some of text fields and several buttons on my webpage when click on "Edit" button.. I am using images as buttons. document.getElementById("textFieldID").disabled = true; document.getElementById("imageID").disabled = true; but on clicking the Edit button, still the other buttons(images) does not disabled. those are acting (those …

Member Avatar for MattEvans
0
141
Member Avatar for amodam007

hello all i am new to asp and javascript i am creating a page in which user enters the id,name,address and he enters his family detail's below selecting relation and name of person if he wants to add more personal details he can click on add more buttton will give …

Member Avatar for masijade
0
68
Member Avatar for nloding

Here's how I call this code ... it's my wrapper for Ajax: [code] var ajax = new XMLHttp(); ajax.get('myscript.php?variable=value'); [/code] When I run that, I get the error in Firefox's Error Console that ajax.get is not a function. So I've checked this code ten times and I see nothing wrong. …

Member Avatar for nloding
0
110
Member Avatar for LAPHO

Can you please advise me why the following Javascript function works in Firefox,Opera and Netscape but I get `"Error:The marshaled interface data packet(OBJREF) has an invalid or unknown format."` It seems very basic! What am I missing? function OpenSite() {var newwindow; newwindow=window.open(SiteN,'name'); if (window.focus) {newwindow.focus()} } SiteN is a global …

0
71
Member Avatar for amaravanich

Hi all, I need to create extra rows for already existed table in javascript.I added code as shown below.It works well for mozilla but for ie extra rows are not adding .i didnt find where the problem was.Apart from that i had another problem with checkbox created below.it always returns …

Member Avatar for amaravanich
0
114
Member Avatar for Inny

tried this with css in actuall stylesheet aswell, but i wont work. what have have I done wrong please? [code]<style>pullquote {width: 145px; background:gold; color:black; float: right; border:1px solid maroon; font-weight:bold; line-height:140%; padding:5px; margin-top:10px; margin-left:10px; } </style> <script type="text/javascript"> function addPullquote(){ var myTextArea = document.getElementById("commentBox"); myTextArea.value = myTextArea.value + '[dohtml]<p class='pullquote'> …

Member Avatar for Inny
0
255
Member Avatar for Inny

I will be using this one. I want to add sub items to each category(button) how do I do it but maintain the style? [code]<style> #message div.menuBar2, #message div.menuBar2 a.menuButton { font-family: Verdana, Arial, sans-serif; font-size: 8pt; color: #000000; } #message div.menuBar2 { background-image: url(http://i14.photobucket.com/albums/a345/Instar/escher_background.gif); padding: 6px 2px 6px 2px; …

Member Avatar for GreenDay2001
0
213
Member Avatar for rpjanaka

Hi all, Instead of writing javascript functions on the html page it self, we could write those in separate “.js” file and import it as follow. <script src="fileName.js" ></script> But when we do this and check the web page source on the browser, there is no any JavaScript function there.. …

Member Avatar for GreenDay2001
0
67
Member Avatar for devaka

Hi! Are you javascript developer and looking for some tool like Photoshop rectangular marquee tool on javascript? Or may be you are just interested in Internet novelties? Any way welcome on board to [URL]http://marqueetool.net[/URL]! Marquee tool allows you to select rectangular areas on <DIV> or <IMG> elements for some your …

0
79
Member Avatar for forumposters

I've found a script that does almost exactly what I need but it uses PHP - I know nothing about PHP. Anyone here want to help me convert the PHP to Coldfusion? It's not a whole lot of code. Here's a demo and the source code is below the demo: …

Member Avatar for forumposters
0
102

The End.