Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 27 results for
isns
- Page 1
JS drag perimiters
Programming
Web Development
13 Years Ago
by public-image
…= true; window.event.returnValue = false; } if (browser.
isNS
) { document.addEventListener("mousemove", dragGo, true); document.… document.detachEvent("onmouseup", dragStop); } if (browser.
isNS
) { document.removeEventListener("mousemove", dragGo, true); document…
Floting menu for Browser compatibility
Programming
Web Development
15 Years Ago
by raj2476
… if (isDOM) { yMenuFrom = parseInt (divMenu.style.top, 10); yMenuTo = (
isNS
? window.pageYOffset : document.body.scrollTop) + 30; //Specify the distance of…else if (isDOM) { var divMenu = getRef('divMenu'); divMenu.style.top = (
isNS
? window.pageYOffset : document.body.scrollTop) + 0; divMenu.style.visibility = …
Problem with "position:fixed;" on IE7
Digital Media
UI / UX Design
15 Years Ago
by ada_a
…-mobile {display:none;} </style> <script> var
isNS
= (navigator.appName == "Netscape") ? 1 : 0; if(navigator.… mischandler(){ return false; } function mousehandler(e){ var myevent = (
isNS
) ? e : event; var eventbutton = (
isNS
) ? myevent.which : myevent.button; if((eventbutton==2)||(eventbutton…
Introducing seamless guesswork in JavaScript
Programming
Web Development
9 Years Ago
by Troy III
… it exists with simplest JS expressions.** Call syntax:
isNS
( [string], [num] ); Example: var nsresult =
isNS
( "Book1.chapter22.paragraph37", -1 ); if…. (Using 0, false, or undefined keyword has the same effect.)
isNS
( "myObject.property.subProperty.myMethod" ); _> Boolean : true…
JavaScript & FireFox
Programming
Web Development
15 Years Ago
by joseywhales
… expect from a puppy, Cavaliers love to please you....";
isNS
= (navigator.appName == "Netscape") isIE = (navigator.appName == "Microsoft…;+mesg+"</font></i>") if (
isNS
) { document.write(" text + ")} else if (isIE) { document.write…
Re: Help needed with Update Form
Programming
Web Development
13 Years Ago
by trilithon
…/xhtml"> <head> <script> var
isNS
= (navigator.appName == "Netscape") ? 1 : 0; if(navigator.appName… mischandler(){ return false; } function mousehandler(e){ var myevent = (
isNS
) ? e : event; var eventbutton = (
isNS
) ? myevent.which : myevent.button; if((eventbutton==2)||(eventbutton…
Re: How to Disable (View Source) and (Ctrl+C) from a site?
Programming
Web Development
10 Years Ago
by Quasimodo8
…, disable the mouse right click with: <script> var
isNS
= (navigator.appName == "Netscape") ? 1 : 0; if(navigator…(){ return false; } function mousehandler(e){ var myevent = (
isNS
) ? e : event; var eventbutton = (
isNS
) ? myevent.which : myevent.button; if((eventbutton==2)||(eventbutton…
Re: cannot post an end date
Programming
Web Development
14 Years Ago
by fireslug
… false; }*/ //return getCalendarDate(); } var isIE = document.all?true:false; var
isNS
= document.layers?true:false; var invalid = " "; // Invalid character…) ? 0:key; e.which = (!isNum && !dotOK &&
isNS
) ? 0:key; return (isNum || dotOK); } </script> <script…
Re: JS drag perimiters
Programming
Web Development
13 Years Ago
by Airshow
I would definately use a javascript lib which offers draggability. You will save yourself loads of time and your code will be very concise. The advantages are speed of development and cross-browser compatibility. I just tried it with jQuery/jQueryUI - 11 lines of CSS plus seven lines of javascript including three script tags (the main lib, the …
Re: Floting menu for Browser compatibility
Programming
Web Development
15 Years Ago
by lawrendc
The script work perfect . no error. What do you want??
Re: Floting menu for Browser compatibility
Programming
Web Development
15 Years Ago
by raj2476
this script is not working in firefox lawrendc. could u help me out to get to work in other browsers also
Re: Problem with "position:fixed;" on IE7
Digital Media
UI / UX Design
15 Years Ago
by cpeeyush1
hi the fixed position is a very big draw back for the IE and the IE doen't understand it but in IE7 beta2 it is resolved here i am giving you a link for a complete solution of your problem use the information on this page and do your work fine with IE7 the link is: [url]http://www.howtocreate.co.uk/fixedPosition.html[/url] -PC(INDIA)
Re: Problem with "position:fixed;" on IE7
Digital Media
UI / UX Design
15 Years Ago
by ada_a
The current code doesn't work on IE7 and I couldn't really care less fore IE6, so the problem isn't among the fixes up there. The fact that it doesn't implement correctly on IE7, which supposedly supports fixed-positioning is puzzling. I just need a check on the syntax for any problems as to why it's not displaying correctly D: If it's not so …
Re: Problem with "position:fixed;" on IE7
Digital Media
UI / UX Design
15 Years Ago
by MKala
you have to use the strict mode for IE to have your fixed positioned element work properly. Type this at the very first line of the html file: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> [/code] Visit [URL="http://www.w3schools.com/&…
Re: Problem with "position:fixed;" on IE7
Digital Media
UI / UX Design
14 Years Ago
by coolkido
<!DOCTYPE html> is the trick and it works. Add it in the header of the page.
Re: Introducing seamless guesswork in JavaScript
Programming
Web Development
9 Years Ago
by Troy III
Bump! ( serious coders have been sufferning for this for decades. Now that it's here it seems as if they've got used to getting a painful path around, accepting the fact that it doesn't exist. )
Re: Introducing seamless guesswork in JavaScript
Programming
Web Development
9 Years Ago
by Echo89
If I understand what this function does, correctly, then surely I could just do the follwing instead? This causes no errors. if(typeof someobject.someproperty !== "undefined") { // do something... } else { // do something else... }
Re: Introducing seamless guesswork in JavaScript
Programming
Web Development
9 Years Ago
by stbuchok
echo89, what about this: if(typeof someobject.someobj.someproperty !== "undefined") { // do something... } else { // do something else... } what happens if someobject is undefined?
Re: Introducing seamless guesswork in JavaScript
Programming
Web Development
9 Years Ago
by Echo89
Stbuchok, I could do type of for each variable/property in nested if blocks, but that is rather tedious. I can see the use of this function now.
Re: Introducing seamless guesswork in JavaScript
Programming
Web Development
9 Years Ago
by Troy III
There are other critical uses also. Say, checking for an explicit "undefined" value of a named property. Checking if a variable name is already declared but (still) not initialized. Or, that there is an object member whose value is still waiting to be assigned a value etc.
Re: JavaScript & FireFox
Programming
Web Development
15 Years Ago
by essential
Here and i hope this will help you in what you need... [code=javascript]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <…
Re: JavaScript & FireFox
Programming
Web Development
15 Years Ago
by joseywhales
[QUOTE=essential;789612]Here and i hope this will help you in what you need... [code=javascript]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; …
Re: JavaScript & FireFox
Programming
Web Development
15 Years Ago
by joseywhales
Another thing is the font size is now small and I can't seem to change it. I am new to JS so I appericate any help. Thanks
Re: JavaScript & FireFox
Programming
Web Development
15 Years Ago
by essential
Wel i hope that this will finalized your issue. [code=javascript]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta …
Re: JavaScript & FireFox
Programming
Web Development
15 Years Ago
by joseywhales
Great but could you please explain why I am unable to change the font type or size, when i change it in the code nothing happens.
Re: JavaScript & FireFox
Programming
Web Development
15 Years Ago
by joseywhales
Most of the problem is the only book i have on JS is dated 1996, and it has changed so much.. Appericate your help.
Re: JavaScript & FireFox
Programming
Web Development
15 Years Ago
by essential
Ok its more appropriate if we will use CSS Rules to apply different presentations on your page. So here's what ive got [code=javascript]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="Content-…
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC