518 Posted Topics

Member Avatar for thenamenoonehas

Or you can also do it this way. [code=javascript]<html> <head> <title><!--Sample--></title> <script type="text/javascript"> <!-- window.onload = function() { document.getElementById('div1').innerText = 'Hello World!'; } //--> </script> </head> <body> <p><div id="div1" onclick="this.innerHTML = '<font color=red>GoodBye World!</font>';">&nbsp;</div> </p> </body> </html>[/code]

Member Avatar for Troy III
0
149
Member Avatar for meerantj

Here you go! As part of my demo i add up some functionality that will ask the user to input the numbers' of table that they wish to create! Hope this wil help you up... Good day! [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=css]<style type="text/css"> <!-- table { width: 100%; margin-bottom: 4px; border: …

Member Avatar for ~s.o.s~
0
146
Member Avatar for pletch99
Member Avatar for Shanti C
0
122
Member Avatar for southloven

Maybe this quick example can help you. [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=javascript]<script type="text/javascript"> <!-- var numValue = /^\d{1,3}[\,]\d{3}$/; var numOfCar = /^d{1,2}$/; function validate( form ) { var mfields = []; if ( !numValue.test(form.hV.value )) { mfields[mfields.length] = 'Please enter the price value of your house! On this following format-\n(eg. 1,000).\n'; …

Member Avatar for essential
0
113
Member Avatar for cakka

Sorry to keep you waiting! Here's your code and ive fixed some of the lines in your script. [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=css]<style type="text/css"> <!-- /* Part of the testing that's why i have to simplify things. Just dont forget to replace this one with ur default attribution */ li.blue a …

Member Avatar for essential
0
97
Member Avatar for pletch99

Lets head back to the basic! Hope this 1 wil help you! Good day! [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=javascript]<script type="text/javascript"> <!-- function validate( form ) { var nameField = form.firstname; if ( nameField.value == "" ) { alert('\nMissing Information!'); nameField.focus(); return false; } else { alert('\nDo the next stuff!'); return true; …

Member Avatar for essential
0
96
Member Avatar for dragonflyuk

Here's a little example on how to deal with the readonly field! And date format should be like this ( dd-mm-yyyy ) before it react! [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=javascript]<script type="text/javascript"> <!-- var dateValue = /^[d]{2}[\-\.]{1}[m]{2}[\-\.]{1}[y]{4}$/; window.onload = function() { form1.txt1.onchange = function() { if ( dateValue.test( form1.txt1.value )) { var …

Member Avatar for essential
0
2K
Member Avatar for sagecelt

Maybe this would help! [code=html]<html> <head> <title><!--Sample--></title> </head> <body> <span class="link2"> <a href="javascript:void(0);" onclick=" window.open('070595.html', 'Item 070595', 'toolbar=no,scrollbars=yes,location=no,directories=no,status=no,resizable=no,width=400,height=420');">Larger Image...</a> </span> </html>[/code]

Member Avatar for essential
0
127
Member Avatar for mkirtani

Am not sure if this is what you need! But i hope this example wil lighten up things! With following demo, I simply convert all values' into arrays and then pass it into the designated cell. Just don't forget to evaluate all needed data in your php code! Well that's …

Member Avatar for essential
0
113
Member Avatar for Gowthamseeda

Since i don't have any reference on your code! Then i wil just play a simple example on disabling the list, if you picked them once. [code=html]<html> <head> <title> <!-- Sample --> </title>[/code] [code=javascript]<script type="text/javascript"> <!-- var x = 0; function a( thisIndex ) { x = x; if ( …

Member Avatar for Gowthamseeda
0
101
Member Avatar for cVz

Hope this example will help you on your way in learning javascript! And Good day to you! [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=javascript]<script type="text/javascript"> <!-- BEGIN HIDING /* ADD OPTION TO YOUR SELECTION LIST */ function addOpt() { /* You can also use the addOption function instead of this one! But since …

Member Avatar for nikesh.yadav
0
74
Member Avatar for donkeydal

Hi there! Sorry if i post in shanti! Am just here to help! And tnx for the reps' that you gave me. Too add more functionality and precise handling of your data. Enjoy... [code=html]<html> <head> <title><!-- Sample --></title>[/code] [code=javascript]<script type="text/javascript"> <!-- /* Set the desired parameters to validate your field! …

Member Avatar for essential
0
90
Member Avatar for hadsuresh

CrossBrowser Issue! You may try this 1 instead! [code=javascript]if ( document.all ) { document.all.out.innerHTML = "Content is Loading, please wait...."; } if ( document.getElementById && !document.all ) { document.getElementById('out').innerHTML="Content is Loading, please wait...."; }[/code]

Member Avatar for Luckychap
0
109
Member Avatar for k2k

Try to bring it up inside the &lt;head&gt; tags! [code]<html> <head> <title>Some Title</title> [color=red]<!-- Your script goes here! -->[/color] <script type="text/javascript"> <!-- //Some codes' to run //--> </script> </head> [/code] And with external script! Simply link it in to your page by doing this... [icode]<script type="text/javascript" src="yourScript.js"> <!-- // --> …

Member Avatar for k2k
0
157
Member Avatar for rejisha

Maybe this would help. function addFolder() { folder=dhtmlmodal.open('Add Folder', 'iframe', 'add_folder.php?folder=My Photos', 'Add Folder','[color=red]toolbar=no,location=no,[/color]width=400px,height=250px,center=1,resize=0,scrolling=1,border=0'); }

Member Avatar for essential
0
154
Member Avatar for brain_26

This should do it! Good day to you... [code=html]<html> <head> <title><!-- Sample --></title>[/code] [code=javascript]<script type="text/javascript"> <!-- BEGIN HIDING var today = new Date(); Date.prototype.greet = function() { hour = today.getHours(); minute = today.getMinutes(); second = today.getSeconds(); var greetings = ''; if (( hour >= 7 ) && ( hour < …

Member Avatar for essential
0
97
Member Avatar for newsteve
Member Avatar for mjag16

Hope this would help you! Instead of this one --> [icode]document.forms ['SellSheet'].elements['sellitsheet'].value = nc;[/icode] Try doing it like this --> [icode]document.SellSheet.sellitsheet.value = nc;[/icode]

Member Avatar for essential
0
143
Member Avatar for TKArtist
Member Avatar for Dalli

This is why, you keep on getting those error--> [code]function r() { setTimeout([color=red]f()[/color],2000); }[/code] You forgot to quote it. [code]setTimeout([color=red]"f()"[/color], 2000)[/code] And here's my quick example about reloading those iframes' on your page! Hope it helps you... Good day.. [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=javascript]<script type="text/javascript"> function f() { var refresh = …

Member Avatar for essential
0
5K
Member Avatar for patrick1984

Here you go! Please don't forget to marked your thread solve, if it does solved the issue! Thanks! [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=javascript]<script type="text/javascript"> <!-- BEGIN HIDING document.onchange = function( e ) { e = e ? e : window.event; t = e.target ? e.target : e.srcElement; if (( t.name ) …

Member Avatar for essential
0
94
Member Avatar for seattlemom41

Maybe this would help! [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=javascript]<script type="text/javascript"> <!-- window.onload = myMessage; function myMessage() { var m = [ 'Hello', 'How are you?', 'Hope your enjoying my simple script!', 'I hope this will help with what you need!', 'Enjoy Javascripting...', 'Function Ended!']; n = 0; var stopMe = setTimeout('myMessage()', …

Member Avatar for seattlemom41
0
114
Member Avatar for patrick1984

Here you go! Please don't forget to marked your thread solve, if it does solved the issue! Thanks! [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=javascript]<script type="text/javascript"> <!-- BEGIN HIDING document.onchange = function( e ) { e = e ? e : window.event; t = e.target ? e.target : e.srcElement; if (( t.name ) …

Member Avatar for essential
0
234
Member Avatar for stefig

Sorry if im bein hasty on this one! Hope this wil solve the issue. Enjoy. [code=html]<html> <head> <title><!--Sample--></title>[/code] [code=css]<style type="text/css"> <!-- form label { color: #C0C0C0; font-weight: bold; } form input { text-align: center; } --> </style>[/code] [code=javascript]<script type="text/javascript"> <!-- var invalidChar = /[A-Za-z]{1}|[\-\.\s]{1}/; var maxLen = /[0-9]{4}/; function validate( …

Member Avatar for essential
0
109
Member Avatar for tonyledenko

Sorry to keep you waitin! Here's the code and hope my sample wil brighten you up! Enjoy coding... [code=html]<html> <head> <title>Some title</title>[/code] [code=javascript]<script type="text/javascript"> <!-- BEGIN HIDING var s = ""; document.onclick = compilePartsList; function compilePartsList(form, e ) { e = e ? e : window.event; var thisPart = e.target …

Member Avatar for essential
0
112
Member Avatar for kavithakesav

Assuming that this your [color=red]index.html[/color] [code=html]<html> <head> <title>index page</title>[/code] [code=javascript]<script type="text/javascript"> <!-- window.onload = function() { /* You must replaced this with your own page that you wish to be loaded */ window.open('floating.html', targe='_blank', 'toolbar = no, scrollbars = no, location = no, width = 500, height = 500'); } …

Member Avatar for essential
0
206
Member Avatar for papero
Member Avatar for papero
0
198
Member Avatar for FAMV

The 1st problem goes with your script tags! Let's do some changes! Instead of--> [icode]<script language="JavaScript" type="text/javascript">[/icode] Simply do it like this! [icode]<script type="text/javascript"> <!-- //Your codes goes here! //--> </script>[/icode] [code=javascript]if (( sideA > num3 ) && ( sideB > num2 ) && ( sideC > num1 )) { …

Member Avatar for FAMV
0
122
Member Avatar for rejisha
Member Avatar for drsmith

Simply set an [color=red]onbeforeunload[/color] event. One, you can give the user a chance to re-think the decision to leave the page by spawning a "yes/no" dialog box; and two, just having an onbeforeunload event will cause the browser to never cache the page: This means that the page will always …

Member Avatar for drsmith
0
290
Member Avatar for kookies

This was just an example, so i'll remove some parts of your documents! Create some test page and see how this thing work! And it would be nice if you can provide the actual codes' of your [color=red]imageflow.css[/color] [code=html]<html> <head> <title>some title</title>[/code] [code=css]<style type="text/css"> <!-- html { height: 100% } …

Member Avatar for kookies
0
111
Member Avatar for kookies

Code Level: Basic Here's how we do it! --> code is as follows: [code=html]<html> <head> <title>Some Title</title>[/code] [code=javascript]<script type="text/javascript"> <!-- BEGIN HIDING document.onclick = click; function click( e ) { e = e ? e : window.event; t = e.target ? e.target : e.srcElement; /* Replace this one for specific …

Member Avatar for essential
0
218
Member Avatar for thillai

can you atleast throw the bits of your code!? What do u actually intend to do?

Member Avatar for thillai
0
314
Member Avatar for cpeeyush1

Yeah it is possible, but you wil have to use some script to work on this 1! You may try [color=red][b]JavaScript[/b][/color] instead!

Member Avatar for MelechM
0
114
Member Avatar for designingamy
Member Avatar for agravayne

A quick example on how to disable right click for specific link! Hope you had a great time! Enjoy... [code=html]<html> <head> <title>noRclick</title>[/code] [code=javascript]<script type="text/javascript"> <!-- document.onclick = function( e ) { e = e ? e : window.event; t = e.target ? e.target : e.srcElement; if (( t.name ) && …

Member Avatar for essential
0
75
Member Avatar for trailertrash

This is not about "Hukon" stuff! But [url=http://www.templateyes.com/css-templates.htm]This Link[/url] should help you out with what you need! Good day...

Member Avatar for essential
0
41
Member Avatar for tiger86

Yeah it is possible! But in this case we&#39;l have to use some script to work over it! You my try [color=red][b]JavaScript[/b][/color] instead!

Member Avatar for MelechM
0
348
Member Avatar for lochii

Try this attribution --> [icode]{ clear: both; float: left; width: 100%; background-image: url(images/someExample.gif); height: 212px; }[/icode]

Member Avatar for MelechM
0
129
Member Avatar for thenamenoonehas

You may try this link- ---> [url=http://tetlaw.id.au/view/javascript/really-easy-field-validation][b]Click Me[/b][/url]! <---

Member Avatar for essential
0
74
Member Avatar for veledrom

A basic example on how to open newWindow using submit button! Enjoy coding... [code=html]<htm> <head> <title>SomeTitle</title>[/code] [code=javascript]<script type="text/javascript"> function myWindows( form, link ) { window.open( link, target='_blank', 'toolbar = yes, scrollbars = yes, location = yes, width = 5000, height = 500' ); } </script>[/code] [code=html]</head> <body> <form name="form1" onsubmit="myWindows(this.form, …

Member Avatar for essential
0
129
Member Avatar for 7arouf

Redirecting is quite a simple task to perform. But you wil be needing some script to work on this issue perhaps you can try javascript to perform that trick! And am sorry to say this, but you'll have to tranfer all the needed files' to your newly bought domain from …

Member Avatar for buddylee17
0
83
Member Avatar for lonestar23
Member Avatar for mangel.murti

Try 2 mixed this up along with your stylesheet attribution! [icode]html { height: 100%; }[/icode] Hope this would help you up! Enjoy!

Member Avatar for tiger86
0
92
Member Avatar for chandanmahajan

Am not sure if this wil solve the issue. But this may come in handy... [color=red]This will allow you to add function() calls once the page is loaded! It's ideal for use in scripts that may be executing along side other scripts that have already been registered to execute once …

Member Avatar for langsor
0
121
Member Avatar for Alex5248

Simply add "&autoplay=1" to the src url in the embed tag [color=red][b]Example:[/b][/color] [code]<object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/c6SHsF1n9Qw"></param> <param name="wmode" value="transparent"></param> <embed src="http://www.youtube.com/v/c6SHsF1n9Qw[color=red]&autoplay=1[/color]" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"> </embed> </object>[/code]

Member Avatar for Alex5248
0
191
Member Avatar for leegeorg07

Just for a perfect start! You may try [url=http://www.free-css.com/free-css-templates/page1.php][b]this link[/b][/url] instead. They have 100&#39;s of HTML templates, that are easy-to-edit and ready-to-use! Good luck on your website!

Member Avatar for essential
-2
133
Member Avatar for moerpheus

Please feel free to modify this code to match your needs. If you have any question regarding this code you can [color=green]document.write('Me on my inbox').[/color] lol! Have a good day... [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Some title</title>[/code] [code=javascript]<script type="text/javascript"> <!-- …

Member Avatar for electron33
0
105
Member Avatar for shobha1335

Please feel free to modify this code to match your needs. If you have any question regarding this code you can [color=green]document.write('Me on my inbox').[/color] lol! Have a good day... [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Some title</title>[/code] [code=javascript]<script type="text/javascript"> <!-- …

Member Avatar for essential
0
1K
Member Avatar for veledrom

Some basic example! [icode]<a onclick="alert('Hello World');" href="http://somelink.com">Click Me!</a>[/icode]

Member Avatar for essential
0
73

The End.