Solution For Clients Who Disable Script?

Aug 16, 2011

I am wondering what is the way around when the javascript is disabled?

For example, I am creating menu with bunch of drop down lists. The lists are dependant on the others. So, when I change the selection on the previous list, the elements on the next list should change. Of course this won't happen when the javascript is turned off.

View 5 Replies


ADVERTISEMENT

Disable Popup Killer Solution

Jul 24, 2003

Here's a little code snippet solution for Popup Killer software:

<script language="Javascript">
<!-- begin

function winopen(url){
var Win = window.open(url,"popup","menu=no")
if (Win == null)
window.parent.location.href='disablepopupkiller.htm'
}

// end-->
</script>


<a href="javascript:winopen('popuppage.htm');">click</a>

If the new window is "killed" because of the software, it loads a new page in the parent window ... or the last line of code can be replaced with a document.write('content here'); or show a hidden <div>. Any of these three can be used to tell the user to disable the software).

It works on my computer with ie6 ... let me know how it works on yours (if you have popup killer software installed).

View 4 Replies View Related

Asynchronous Updates Between Web Clients

Sep 24, 2006

I think it's okay to ask this question in this group, but if not please
point me to the correct one!

How does one go about doing asynchronous updates between two web
clients? Take Google Chat for example... how does Google Chat update a
chatter's chat window with text entered by the other chatter?

View 3 Replies View Related

Get MAC Address For Clients Computer

Jun 11, 2010

I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but it does not get the client computers MAC Address. And these examples work only on localhost. While running it on the server the MAC Address is different than the local one.Can we find out the MAC Address for a clients computer anyways to use in the application and which will be cross browser compatible?

View 2 Replies View Related

Get MAC Address For Clients Computer?

Jun 11, 2010

I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but it does not get the client computers MAC Address. And these examples work only on localhost. While running it on the server the MAC Address is different than the local one. Can we find out the MAC Address for a clients computer anyways to use in the application and which will be cross browser compatible?

View 2 Replies View Related

Image Gallery For My Clients?

Nov 15, 2010

Looking for something for my clients, they want to upload and change images on their image gallery but I don't really want to make a CMS program for them since it's a low budget website.

View 3 Replies View Related

Generate List Of Clients Machine Files?

Dec 5, 2002

I want to make an extensive browser/fileupload script inspired on windows Explorer... A server side listing of the files and directories with the home directory specified in the script and a listing of the clients files. The server side part can be found on http://vegeta.evilkalah.be ... The idea now is to make it possible to upload or download (maybe drag and drop) files from on side to the other. I don't know how I best make the client side. So on this part any help is welcome...

View 6 Replies View Related

Display Clients Timezone Name When In Daylight Savings Time

Jul 23, 2005

ok im getting tired of looking for an answer and coming up short with
scripts that dont work. i have a application that uses GMT for all its
times and needs the clients timeoffset for showing the correct times
for everything. i use date.getTimezoneOffset() which works fine and
shows the daylight savings time correct value of -4 since im in eastern
standard time and its daylight savings time right now. well eastern
standard time is normally -5 and my dropdown populates with the -4
showing atlanta time. which will confuse the user and then they will
pick -5 eastern time which will make everything an hour off. i have a
disclaimer now, but i just want to know what the easiest way to display
the users time zone name useing the getTimezoneOffset() value. i
really want to be able to detect if the user has the adjust for
daylight savings checked for their machine.

View 2 Replies View Related

JQuery :: Make A Message Fade Out In Clients Panel?

Apr 14, 2010

I have created a javascript function to make a message fade out in my clients panel. Here is my function:

[Code]...

It shows the 'faded' alert message but it doesn't fade the area? How can I fix this?

View 1 Replies View Related

Keyword Tool External As A Free Service For Some Of Clients Automation

Oct 12, 2010

First of all excuse me if I posted this thread in the wrong forum, I really have no clue where to put this but I've had some minor experience with js so I hope it can be solved this way. I check websites and/or keywords in googles Keyword Tool External as a free service for some of my clients. The thing is that more and more clients like this service and it's becoming very time-consuming for me to do this for all of them.

Is there a way to let my clients fill in the keywords or url they like researched in a form on my website, then let those words be researched and return a specified number of results in a pdf or something? My biggest concern is the captcha code. If I can't find a way to partially or fully automate this process, I'll be forced to either charge for or completely give up this service.

View 4 Replies View Related

Can't Add And Remove An Element In FF / Solution For This?

Jan 7, 2011

I am having a problem removing an element after adding it.

This removeElement funcrtion works in IE but not in FF code...

View 7 Replies View Related

Crossbrowser Solution For RemoveNode()

May 26, 2005

As you might know, removeNode() is an IE DOM extension (works only for IE5, IE6 and Opera 8 but not in IE 5.2 for Mac, Moz, Safari.

Following one of my clients request I think I found a cross-browser solution to remove a node but keeping it's childs. The request was to find a function which will remove, onevent, the <a href=""> tags, but keeping the inner text.

This is what I have done. If you know a better or a shorter solution, please let me know:

function removeN(tag){
var tags = document.getElementsByTagName(tag);
for (var i=tags.length-1;i>=0;i--){
var root = tags[i].parentNode;
var kids = tags[i].childNodes;
var eSpan = document.createElement('span')
for(var j=0;j<kids.length;j++){
clon = kids[j].cloneNode(true);
eSpan.appendChild(clon)
}
root.replaceChild(eSpan,tags[i])
}
}

the variable tag might be 'a', 'strong', 'em'....

I guess that the code might be used as a crossbrowser solution for replaceNode() as well. In fact the code as it is replaces the node tag with a <span> tag, but it might replace it whith another desired tag....

View 5 Replies View Related

Is There A Sleep Functionality Or Similar Solution In Js

Jul 20, 2005

We have to develop a small engine which the client uses. It supposed
to work like this. Our engine resides in a frame (frameA) which will
be loaded only once and it provides set of functions. The client can
call these functions. We inturn should get the values from the server
or set the values in the server and return with the values. The way we
are planning to implement is that we will have have another frame
(frameB hidden) and submit it whenever the client (frameClient) calls
our function and wait till the page reloads and return with the value
( set in the reloaded page by the server). The problem we face now is
that we don't have any sleep functionality in javascript ( being event
driven) and if we have a loop waiting for the reply, it will consume
the cpu cycles and the the frameB wont load.

View 3 Replies View Related

Html Form Not Working / Solution For This?

Aug 6, 2009

Posting this in javascript because the problem might be caused by my scripting.

I made a 3 page long form using javascript, and the contents of the second page aren't submitted to the php script. link (http://rolstoel.dlnet.org/toevoegen.php?page=1)

View 4 Replies View Related

Switch Works In IE Not Firefox / Solution For This?

Feb 18, 2010

This works fine in IE only. code...

View 8 Replies View Related

Parameters Not Being Passed Into Functions / Solution For This?

Apr 20, 2010

I am working on this simple calculator that passes values from one function to another via paramters. I have used alert() to find what is being recieved, so far nothing. code...

View 2 Replies View Related

Simple Code Is Not Working For FF / Solution For This?

Oct 10, 2010

Simple random pic script that I found on the some other forum (I forget what it was) code...

code anchors to HTML markup [CODE]

it is working perfectly for Safari and Chrome. Nothing is showing for FF.

View 4 Replies View Related

Script Alert Not Showing Up / Solution For This?

May 25, 2011

I'm making a php/html page and using javascript to keep a count for me. code... The last button is just a test button, which will tell me what the value of "i" is, but I'm not getting anything when I cllick that button.

However if I change the onClick from alert(i), to alert('i') it will alert me a string, so I know the javascript is working.

View 1 Replies View Related

Replace Not Working For Some Reason / Solution For This?

Jul 26, 2011

I am trying to fix some datetime strings so I can convert form values into date objects so I can compare the dates in my validation process. the date time strings look like - 7/21/2011 8:00am

for some reason the am is not being replaced by " am" . here's the function code...

View 4 Replies View Related

Simple Solution To Collapsible Rows

Jul 4, 2006

I have been looking around for quite some time for a simple piece of code that allows rows to be collapsed in tables, so when you click on a link in the tbale the row beneath collapses. All i have found are very complex codes that i cant get to work or that dont work in both IE and FF.

View 6 Replies View Related

Script Not Working In Firefox / Solution For This?

Oct 28, 2005

I have a javascript running on my site at that disables right clicking (viewing source, saving pictures, etc.) that works beautifully in IE...but not in Firefox. Does anyone know of a solution?

View 6 Replies View Related

Image Resizing Not Working / Solution For This?

Sep 12, 2009

Code...

So the idea of the code is to load an image from a record, and echo both scenarios of 1) the image being a valid size and fitting in the table, or 2) the image width is too large, so add on width='100%' to the image. After both rows have been loaded, call the javascript function in PHP to hide the appropriate table row.

View 3 Replies View Related

GetAttribute Won't Get A Display Attribute / Solution For This?

Oct 29, 2009

I want to find out if an element has been hidden by setting display to 'none'.

When it has been hidden, I find "display: 'none'" in the firebug display, as expected. code...

View 6 Replies View Related

App Crashing When I Try To Instantiate An Array / Solution For This?

Jun 10, 2011

I have some java script in my vb.net application and I've been trying to figure out why my web app keeps crashing when i try to instantiate an array (i placed a comment where the app is crashing in the code below). Here's my code..

Hopefully the code above is enough for to figure out the issue. However, here's a mini recap of what's going on. A user selected a value from firstListBox and the function above copies it over to secondListBox. The code in the first condition works fine, but the code in the else block doesn't. Now, here's the catch/difference between the if and else statement...the Else block is basically doing the same thing as the if statement, except the values that needs to be copied are coming from a session variable (hdnSessionVariable = '<%=Session("playerId")%>'. I've commented out every line in the else statement and the app works until it hits the secondListBox.options[secondListBox.options.length] = newOption line. Anybody have any idea what's wrong here?

View 3 Replies View Related

Is There A Cross-browser XPath Solution?

Feb 21, 2007

Let's say you're getting some xml via ajax, instead of the ajax.responseText property you create a dom document using the responseXML property.

Is there a safe cross-browser way to query that document using xpath?

I know in IE you can use selectNodes/selectSingleNode, but what about other browsers?

View 3 Replies View Related

Javascript Back Button Solution?

Oct 3, 2007

I have a page where users can filter a list of links using javascript clicks. The user then clicks a link in that list, views the page and then clicks back on the browser to view the rest of the list but the javascript options they filtered in the list are gone resulting in them having to do it all over again. Is there a solution to this?

Would it work if I store their selections in a cookie each time they click a javascript button and then when they visit a link and click back (to what is presumably now a cached page) will I be able to have javascript that will read the cookie and reset their options again or is the cookie not loaded on a cached page?

Are there any common solutions to this kind of thing?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved