How can I detect if a customers browser supports Java?
I have numerious websites using a Java e-commerce program called U-Shop. I have customers that do not have Java enabled or installed that cannot see the Java Applets on the site and leave the site because they don't think they can shop-on line. Most of them have no idea what Java even is...
Is there a way I can detect if they do not have jave enabled and take them to a separate page on the site that can explain what they need to do to get Java, or link them directly to a url where they can get Java installed?
I am not a programmer, but do know html very well, so be gentle :)
Thanks for any help you can provide...
Jeff Grant
www.aswebsales.com
You could display a [start] page that would redirect the user whether he supports/applets java applets or not. This page could look like:
<html>
<head>...</head>
<body>
<applet ...>
**** You can put here the HTML code for the clients that ****
**** cannot use java applets ****
</applet>
</body>
</html>
The applet in this page could simply issue a command like
getAppletContext().showDocument(...);... to redirect the client to another page dedicated to clients able to use applets.
Similar Messages
-
How can I open and close private browsing using an IPAD mini in IOS 7?
How can I open and close private browsing using an iPad mini in ios7?
Tap the '+' to the right of the URL field to open a new tab, and at the bottom left of the screen there should be a 'Private' button - tap that and you can then go to the site that you want to go to
-
How can I output text in a browser window in JAVA?
How can I output text in a browser window in JAVA?
"response.getWriter().print()" is the most common method when using servlets
-
How can I get an updated safari browser?
Hi. I have a Macbook Pro, Mac OS X, version 10.6.8; I am getting error messages about updating my browser. I checked the apple store to see if I could download a new version of Safari, but could not. How can I get an updated safari browser at this time without downloading the new OS X Yosemite. I know I might need to download the Yosemite, but would prefer to wait untill all the glitches are fixed. I have learned that the Yosemite may cause wifi failure and e-mail connection problems. Since I am not a computer expert, I don't need the headaches trying to figure out how what is wrong and how to fix a bug, so I would prefer to wait untill apple has totally fixed all the glitches that the Yosemite has. In the meanwhile, I just need to know how to go about updating a newer version of safari. I thing I have a 5.0
I would be greatfull for your help or response.
"New to this"
<Subject Edited by Host>Safari 5.1.10 is the newest version for Snow Leopard, and all available Mac OS X upgrades other than Yosemite require a purchase. You may want to switch to another browser, such as Firefox, temporarily.
(116963) -
How can I detect a dialog and respond?
I'm having trouble doing something that's probably not that hard. I'm trying to "Print to PDF" a bunch of old AppleWorks documents. When you open a document created in AppleWorks v6 it opens right up, but when you open a document created in AppleWorks 5 you get a dialog box that says, "This document was created by a previous version of AppleWorks. A copy will be opened and "[v6.0]" will be added to the filename."
Right now I open the file and then:
tell application "AppleWorks 6"
activate
repeat while not (exists front document)
delay .2
end repeat
end tell
When the dialog box pops up, there's no front document so the whole thing freezes until you hit OK. How can I detect this dialog box and dismiss it?
Thanks
PS
When the box is open I ran this and got this result:
/usr/bin/osascript -e 'tell application "System Events" to get properties of windows of application process "AppleWorks 6"'
minimum value:missing value, orientation:missing value, position:436, 153, class:window, role description:dialog, accessibility description:missing value, focused:missing value, title:missing value, size:412, 123, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXDialog, selected:missing value, name:missing value, description:dialog, minimum value:missing value, orientation:missing value, position:8, 76, class:window, role description:floating window, accessibility description:missing value, focused:missing value, title:Starting Points, size:631, 189, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXFloatingWindow, selected:missing value, name:Starting Points, description:floating window, minimum value:missing value, orientation:missing value, position:4, 22, class:window, role description:floating window, accessibility description:missing value, focused:missing value, title:Button Bar, size:612, 51, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:AXWindow, entire contents:, subrole:AXFloatingWindow, selected:missing value, name:Button Bar, description:floating windowHi,
The simplest would be to set the application preferences in the script.
Like this :
-- *** set prefs ****
tell application "AppleWorks 6"
activate
set oldPrefs to its preferences
copy oldPrefs to tPrefs
tell tPrefs
set old version warning to false --doesn't show the old version warning alert
set converted file suffix to true -- append “[v6.0]” to documents converted from older formats
set locked file warning to false
set paint reduction warning to false
end tell
set preferences to tPrefs
end tell
-- *** end set prefs ****
--**** your script, example ***
set tfiles to choose file with multiple selections allowed
tell application "AppleWorks 6"
repeat with i in tfiles
open i
tell front document
-- do something
end tell
end repeat
end tell
--**** end your script ***
-- *** reset prefs ****
tell application "AppleWorks 6" to set preferences to oldPrefs -
How can I detect a certain text within a field within CASE using IF
Dear all,
for a transformation / generation of values receiving from R/3 into BW I try to
manupulate three fields. I have a problem detecting a string in a field.
I am using a CASE with several WHEN clauses on one field. Depending on the
value, an IF is integrated. There I look into another field evaluating, if it contains
a certain string. E.g. IF STRING CP 'xyz' OR 'abc'.
System gives error for the locigal expression. I also tried CS, but same error.
How can I detect a certain text within a field and which is the right logical
expression.
Many thanks in advance!!!
ClaudiaHi,
Folow the blow example...
May be it helps....
DATA: hex1 TYPE string,
hex2 TYPE string.
hex1 = 'FFFF'.
hex2 = '123FF'.
IF hex1 CP hex2.
ENDIF.
Cheers,
SImha. -
Hello Everyone,
We all know whenever we try to connect to a PC which is not on network, we get UnKnownHostException etc..... by which we can detect that the corresponding PC is not an network(intranet/internet)
But when i send a msg from my PC to my PC, it works fine even if the network is down. I hv provided my PC's IP address instead of using localhost or 127.0.0.1 which reduces the possibility that the msg will not be traversed thru the network.
Any IDEA how this works.
Is There any possible way by which i can detect that my PC is not on network or the PC to which i'm trying to connect is not on network .......
Pls help me out, its really urgent as to be implemented in my Project
Thanks In Advance
Sahil ShaikhHello Surtee
I have developed a Messeging Service for the eCRM Apllication my company is developing and we r in the final stage of debugging.
Now whenever a user sends a msg to a PC which is not on network, the messaging service automatically sends an Offline mssg to that PC. But know i want ot distinguish wheather the PC to which i'm sending the msg is not on network or am I not on network based on this i need to perform diff. actions, hence i wanted to know that how can i detect .......
Pls see if u canhelp me out ......
Thanks
Sahil Shaikh -
How can I return to the previous browsing page in the App store?
How can I return to the previous browsing page in the App store?
Thanks for your reply but problem not solved. If I have reached page 5 for example, I can not go back to the previous page 4. Instead it goes back to page 1 when I use the back track arrows, gestures or the back or forward commands!! The girl at my local Apple dealer says that it can't be done. This should be a very basic browsing function in the App Store. I know other people have the same problem.
-
In the middle of creating a book in Aperture I need more photos. How can I add them to the browser at this stage?
In the middle of creating a book in Aperture I need more photos. How can I add them to the browser at this stage?
You can add more images to your book, by dragging them from the browser to your book album. Switch to the Library Inspector, select the album or project with the images in the source list, and then drag these images onto the book icon. That will add them to the book album, and then double click the book album again to continue working with the book.
Regards
Léonie -
How can I set firefox as default browser in citrix server, only for few groups. does -silent -setdefaultbrowser option working in latest version?
I think so: [http://discussions.citrix.com/topic/330585-firefox-default-browser-for-all-users/]
Can you also set the default programs in the Group Policy User Settings?
Reference: [http://community.spiceworks.com/topic/884740-default-user-profile-in-citrix-environment] -
How can we detect a virus on our mac?, How can we detect a virus on our mac?
We think we may have a virus from the USPS spam email. How can we detect a virus on our computer?
What makes you think there is a "virus"? Any symptoms...?
There are other types of malware (such as trojans) that can affect Mac OS X, but no viruses. A trojan would have to trick you into installing something (the malware) by making you think it is something else. You would be notified (by the system) that you are running a downloaded application for the first time, AND if something will be done to update your current system, you will be asked to authenticate (with your admin user name and password). If something like that comes up when you don't expect it, you should be suspicious (and NOT authenticate). Just opening an email won't do anything, even if it's an email that may affects Windows PCs.
This free utility can scan your Mac for malware.
http://www.clamxav.com/
Apparently, there is a version on the Mac App Store.
http://search.itunes.apple.com/WebObjects/MZContentLink.woa/wa/link?path=mac%2fC lamXav
In the past, when I bothered to run it a few times a year, the only things it found were junk emails that I had not bothered to delete with embedded malware, all of it aimed at Windows PCs. -
In Credit Management how can we identify the credit customers
Hi SD Gurus,
Could you please tell me, In Credit Management how can we identify the credit customers?
and what are accounting entries?
Thanks & Regards,
NivasYou can refer Table KNKK with reference to Credit Control Area, you will get all the Customers maintained for Credit Management.
There is no such Accounting Entries especially for Credit Management.It would be the same as comes while creating Invoice.
Best Regards,
Ankur -
How can i detect the windows version
Hi,
How can I detect the windows version from Forms 6i?
I was used get_application_property(operating_system); But it only return MSWINDOWS, MSWINDOWS32, WIN32COMMON.
Any function or way can return the exact windows version(98/ME/NT/XP)?
Regards, WingYou may use Win_Api_Environment API call to get windows version.
I have sample code on my home PC if you need code send mail at [email protected] -
How can I detect the lable of CD or hard drive?
hi all
How can I detect the lable of CD or hard drive?
thanx ;)Hi,
Not to my knowmledge... you must use JNI to access the OS methods for that.
JRG -
How can I open the 'time date browse button'?
Hello!
How can I open the 'time date browse dialog' from the time stamp control in my block diagram? I tryed it with the property node but couldn't find this item to open the 'time/date browse dialog'!
Thanks in advance for your helpThere is no way to programitically bring up the dialog window for the timestamp control. I recommend building your own dialog window VI that will work by opening when you want the user to set the time and when it closes, it can programatically update the timestamp control. It will not be as pretty but it will be just as functional.
Maybe you are looking for
-
Hi buddies, How to have plantwise rejected material report? Kind Regards.
-
Just wondering if anyone is aware of any examples that demonstrate how to use the WWV_CRYPT package? I'm interested in insert, update and select statements. Alternatively, can anyone point me in the direction of other suitable encryption methods that
-
How to Create the new Field ( Table - Row) in SAP B1
I have a scenario in which the Purchase calculation is based on LR, so for that we have to add new field in Purchase Document. that filed is not available in form setting. kindly let me know how to Create a new field in Purchase document. Thanks
-
Command line in Terminal !
Is there a command or commands that can be ran in the terminal to see if the ethernet port is active or turned off? Don iMac G5 Mac OS X (10.4.6)
-
hi , iam trying to install oracle 8i on linux , and able do so almostly, but not able to create databse which is done during installation, even after installing the patch which i got from the oracle website ....its showing "NOT ENOUGH PERMISSION" wit