I'd like to have my web's main page generate a line of code stating something like "this site is best viewed in IE7 or higher". Because in IE6, a few of my pages look a little out-of-whack. I've worked on them, but they are still not as good as viewing in IE7. some code like this:
I'm looking to create a box that shows to IE6 users or lower, to tell them that my site does not render properly in the IE6 browser and that they should therefore upgrade to a newer version or alternative browser. Basically I would put whatever the code to show the box into these tags:
<!--[if lte IE 6]> INSERT HERE <![endif]-->
To enable it to only appear to IE6 or below users. Preferably when this box appeared, it would be nice if it could fade the page behind it. The box would also need buttons at the bottom that said "Ok, upgrade me" (this would load another window with links to alternative browsers) or "No thanks" (or "Close").
what im trying to do is make a javascript pop-up message in real time alerting members who are online at that time to a game submitted i help run a fifa10 online league site and we are venturing into the 2v2 part of the site.
now when a player goes to the 2v2 page they are presented with a submit button to submit a 2v2 game to the system. then this already shows up on the pagebut what we are after is a little pop up box which after the game button is pressed to submit the game the pop-up shows to the whole site that a 2v2 game has been submitted for playing.
we want this so you dont have to sit on the 2v2 page to wait for a submitted game.
In Salesforce, I am adding what they call an "S-Control" via HTML/JavaScript that will display an alert if certain field criteria are met. The alert would be a reminder to hit the "Submit for Approval" button if the Quote Estimate is equal to or greater than $50,000. For testing purposes I added another criteria, that the Opportunity name must = Test and Stage must = Proposal/Price Quote.
Here's what I've come up with so far, taking from other examples, but I receive no alert
I have a shopping cart where if a user have problems of buying products or transactions, I want to give support via a chat programme. I want to reply users in different chat threads not like in a chat room as other people dont want to see others chat.I am new to this subject.
I am new to Jquery and am having trouble. I want a button on a modal form to open up another modal form but for some reason it isn't happening. The code below is basically the code from the jquery user interface demo, slightly modified. can anyone tell me what I am doing wrong? if your kind enough to take a look at my problem make sure you change the src's where the JQuery files are!
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
I am new to javascript and I was wondering what is the best way to solve my problem below:
I have 2 navigation menus one using flash and one using images. I wanted to use javascript to detect if the viewer is using a mac and then remove the div that contains the flash and if they are not using a mac then remove the div that contains the images.
If there is a better way to resolve this problem I am all ears.
Is there a way to show something to visitors *only* if they have css turned off?
How many people do turn style sheets off, or have browsers that don't support it?
I have a great layout design idea, but without css on, it'll look awful. Most of the stuff I can get around, but not one item that'll make one area of the page almost unreadable . Unfortunatly, that one area is the site navigation ...
Is it possible with javascript to retrieve somebody's Computer name when he connects to a webserver? (So the webserver receives the computername of the client).
This is such a simple question I feel stupid for asking. However I've dug around on the web for almost 30 mins and I can't get to the bottom of it. All I want is to display the day of the week based on users PC settings - not server time.
Example: "News item of the day for [insert day of week]" Sorry for my noobishness, I'm new to jQuery and what I have learned so far has been more in the realm of effects for designers, etc. Also Google is beeing annoying, every search for anything to do with "jQuery, day of week" only seems to return results on building a date picker. <sigh>
I'm moving from fully Flash sites to AJAX withjQuery etc. I see that handling the situation where the user has javascript disabled is given a lot of emphasis in books and tutorials on jQuery. Is it really that important? After all, if you've disabled javascript shouldn't you accept a limited result? Accessibility seems a valid reason, but how many screen readers can't handle javascript? Mobile and other devices that can't handle it are only a concern if your site is one that's likely to be of interest to a small set of users so do you need to worry about them?
As you can see it adds a linebreak after each text is added. It is meant to creat a list to be output from a form. But a user can click inside the textarea end mess up the list and enter anyway they want.
How can I make sure that there is always a linebreak between each line of text?
i have developed an application that allows users to post code on their profile on various social networks, and activate the application by submitting data via an html form from within their profile. the application works fine.the form action is processed on my server the problem is that after they submit the form, the users are directed to my website and the display of the results are presented on my website - at hxxp/xxxxxxxx.com/process.php.
i am trying to keep the users on their profile on their social network. i tried unsuccessfully using targret="_self" and target="_blank" as part of the code they are posting on their profile I am trying to figure out a way that they will not be directed back to my website.
here is the way the code posted on the users profile on their social network looks like:
I have almost completed a web site using PHP that tracks the amount of time users stay on my site. The problem is that right now they need to hit the "Log Out" button so that I can get the log out time. Since I can't rely on them to do this, I need a work-around. I have submitted some posts and most people seem to agree that a clear gif or "web bug" is the way to go, however I can't find any info on how to create such a script. Is there anyone out there that can provide some information on this? I need a script resource or at least a place to start. I may be willing to pay someone to do it if the price is right.
Should I code for users without javascript? I don't know of anybody who doesn't have javascript turned on, but I have seen stats that say users without javascript run as high as 10%. I went to music.yahoo.com, I saw that they didn't code for no-javascript users, leading me to believe the no-javascript is a highly rare group.
How can I capture and display the a lavue from the url to a user. Eg. The user logs onto my page and clicks a logon button. An error code is added to the end of the url if authentication is denied and bounces the user back to the same page. How can I display the added code to the user. code...
How can I display invalid_user to the user in an alert box.
when a popup window appear, can I force users to focus on the popup window "ONLY" that mean, if users don't close the popup window, they can't do anything to other ie window (include close the opener window...etc)
My popup code doesn't appear to work with Internet Explorer 7 and before I spend time bug hunting I would appreciate it if a few IE7 users could visit my site and confirm if the code doesn't work for them too.
Visit www.microbuild.com and in the top right hand corner you will see three buttons for Online Support, Email Us and Call Us. Just click any one of those three buttons then let me know if the popup was successfully opened using Internet Explorer 7.
i nees a scriopt to create a form in which i need to ask 10 questions from users. each question will have two answers. yes or no (radio button). visitor will have to select either yes or no. no question can be left unanswered. above question answers (in same form), there will be data field for user where he will submit his name, email, ph, address etc. after submitting all fields, visitor will submit. now following will happen.
a. a unique id will be created to be associated with this form b. his data will be emailed to one email or two emails c. in next screen, he will see his unique id alongwith results of his questions and answers d. if he replied all questions as yes, he will be passed e. if he replied no (even to a single question), he will be failed