Redirect to another web page

I need to redirect visitors to another an alternate web page
if they have less than Flash Player 7. I have javascript that lets
me display a link the the page, but I want it to happen
automatically.
I'm guessing I need some kind of onLoad javascript command,
but I'm a javascript novice.
The javascript would be something like below, but the visitor
wouldn't have to click on the link; it would automatically go
there.
else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be
placed here.<BR>'
+ 'This content requires the Adobe Flash Player. '
+ '<a href=http://www.jlf.com/>Go to John Lemmon Films
website</a>';
document.write(alternateContent); // insert non-flash
content
Thanks...

in your else statement put:
window.location.href = "
http://yoururl.com/thispage.htm"

Similar Messages

  • How to redirect the first web page?

    Hey everyone. Does anyone know how to set up a firewall or router so that when an IP is first assigned, the very first web page that they pull up (port 80 request) is automatically redirected to a web page. But only on the first web page, so that they can go ahead and surf other subsequent pages after they view the splash screen.

    Actually, what I mean is similar to when you log into your hotel's Wifi. Whenever you open up a browser, you get redirected to some splash page where you have to accept some terms and conditions. I have a Linksys 3G CDMA router and I want it to put up a splash page whenever someone first logs in and opens up a browser.

  • Link to specific text from another web page

    Hello all
    Is is possible to link from one page to a specific piece of
    text in another web page in the same site? I have tried named
    anchor, hyperlink, etc but it just goes to the page rather than the
    text. I don't know if I am attempting the impossible. Can you help?
    Thank v much.

    > This also has a css rule so this 9pt thing is left over
    from copy and
    > pasting
    > from Word. I have it cleaned up as you suggested but I
    still have:
    > <span style="font-family:Arial; font-size:9.0pt; is
    there way of avoiding
    > this?
    It depends on your settings for how you copy/paste. See your
    PREFERENCES
    for those. I don't get such things because my settings are
    'tight' in that
    they are restrictive to what stying is carried into the page.
    > How I do this in a nav bar?
    Change this -
    .nav {
    font: bold normal 14px/normal Arial, Helvetica, sans-serif;
    text-transform: none;
    color: #003300;
    font-weight: bold;
    a.nav:link {
    font: normal 12px/normal Arial, Helvetica, sans-serif;
    text-transform: none;
    color: #003300;
    text-decoration: none;
    a.nav:visited {
    font: normal 12px/normal Arial, Helvetica, sans-serif;
    text-transform: none;
    color: #003300;
    text-decoration: none;
    to this -
    .nav {
    text-align:center;
    .nav a {
    font: bold normal 12px/normal Arial, Helvetica, sans-serif;
    color: #030;
    font-weight: bold;
    text-decoration:none;
    margin-right:35px;
    and then change this -
    <div align="center"><a href="index.html"
    class="nav">Home</a>       <span
    class="nav">About
    Us</span>      <a
    href="impact_HE.html" class="nav">Impact of HE
    Proposal</a>      <a
    href="purpose_ED.html"
    class="nav">The Purpose of
    ED</a>      <a
    href="procedures.html"
    class="nav">Procedures </a>     <a
    href="what_can_we_do.html" class="nav">What Can We
    Do?</a></div>
    to this -
    <div class="nav"><a
    href="index.html">Home</a><a
    href="about_us.html">About
    Us</a><a href="impact_HE.html">Impact of HE
    Proposal</a><a
    href="purpose_ED.html">The Purpose of ED</a><a
    href="procedures.html">Procedures</a><a
    href="what_can_we_do.html">What Can
    We Do?</a></div>
    But an even better way would be to make the menu an unordered
    list, like
    this -
    <ul>
    <li><a
    href="index.html">Home</a></li>
    <li><a href="about_us.html">About
    Us</a></li>
    <li><a href="impact_HE.html">Impact of HE
    Proposal</a></li>
    <li><a href="purpose_ED.html">The Purpose of
    ED</a></li>
    <li><a
    href="procedures.html">Procedures</a></li>
    <li><a href="what_can_we_do.html">What Can We
    Do?</a></li>
    </ul>
    And use this CSS -
    .nav {
    text-align:center;
    .nav ul {
    list-style-type:none;
    margin:0;
    padding:0;
    overflow:hidden;
    .nav li {
    float:left;
    width:150px;
    margin-right:5px;
    border-right:1px solid green;
    .nav a {
    font: bold normal 12px/normal Arial, Helvetica, sans-serif;
    color: #030;
    font-weight: bold;
    text-decoration:none;
    If you want to make the current page look like it doesn't
    have a link, then
    do this -
    <ul>
    <li><a href="index.html"
    id="home">Home</a></li>
    <li><a href="about_us.html" id="about">About
    Us</a></li>
    <li><a href="impact_HE.html" id="impact">Impact
    of HE Proposal</a></li>
    <li><a href="purpose_ED.html" id="purpose">The
    Purpose of ED</a></li>
    <li><a href="procedures.html"
    id="procedure">Procedures</a></li>
    <li><a href="what_can_we_do.html" id="what">What
    Can We Do?</a></li>
    </ul>
    and add this to each page (use the proper ID) -
    a#about {
    cursor:default;
    /* any other styles you want to make the current page show
    > I am being a complete idiot today (maybe it's because
    it's Sunday) Can you
    > talk me through this.
    Make the changes manually in code view.
    If you are getting the idea that you will need to ramp your
    HTML and CSS
    skills to do this stuff, you are right on target!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Dottydog" <[email protected]> wrote in
    message
    news:[email protected]...
    > Dear Murrray
    > Thank you very much for your comments.
    >
    > Can I ask you the following:
    > 1. p.MsoNormal {
    > Using Microsoft Word to build an HTML page is not
    advisable. Use DW only
    > or
    > clean up the Word markup
    >
    > This also has a css rule so this 9pt thing is left over
    from copy and
    > pasting
    > from Word. I have it cleaned up as you suggested but I
    still have:
    > <span style="font-family:Arial; font-size:9.0pt; is
    there way of avoiding
    > this?
    >
    > 2.
           <span
    class
    > Using non-breaking spaces as a layout tool is not
    advisable. Use CSS
    > margins/padding instead..
    >
    >
    > 3. This is not a named anchor point. It is not even a
    link. For that you
    > would need -
    > <p style="font-family:Arial,helvetica,sans-serif;
    font-size:small; "
    > id="BDBC">What we have said to
    B&amp;DBC</p>
    >
    > I am being a complete idiot today (maybe it's because
    it's Sunday) Can you
    > talk me through this.
    >
    > Thank you very much for your time. Much appreciated.
    >
    >
    >
    >
    >

  • Using Links to another web page that triggers event

    I was wondering if you are able to have a link (anchor) to another web page that will trigger an event.
    I have a test site www.psweb-test.com and on the home page there is a list of case studies. On another page I have a Jquery accordion menu on www.psweb-test.com/case.html.
    What I want is for the user to select a link of the appropriate case study from the homepage, this to take you to the www.psweb-test.com/case.html page showing the appropriate section from the Jquery accordion section.
    Is this possible as I think the homepage link will need to trigger the appropriate event ?

    It should be possible to carry the desired slice of the accordion to open to the target page in a URL variable.  Had you used a Spry Accordion, or a PVII accordion, I could have told you how to do this. I've not used the jQuery ones, though.

  • Webdynpro call another web page

    Hi experts,
    can my webdynpro call another web page? I need that the webdynpro call a pop-up to another web page and when this page is closed a variable returns to webdynpro to process.
    Is this possible?
    Thanks in advance,
    David

    Hi,
    I've found a popup tutorial to webpage and work's fine ... only the first side of my aplicaton.
    I can open a separate web page using:
    wdComponentAPI.getWindowManager().createExternalWindow("http://www.google.de","Google - Search for an email address",true).open();
    in this class, the "createExternalWindow" method have a boolean parameter to indicate if the window is modal or not ....
    I asign this page on a modal=true but I cannot receive from my webdynpro possible events or variables.
    sniffff.
    David

  • HAVE ONE WEB PAGE OPEN AND SUDDENLY ANOTHER WEB PAGE OPENS

    I can have one web page open and suddenly another web page will pop up. Why? It doesn't happen all the time. Like I said suddenly.

    Another thing you can try doing is scanning for Malware:
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]
    Download and Run TDSSKiller [http://support.kaspersky.com/faq/?qid=208283363 http://support.kaspersky.com/faq/?qid=208283363]
    Download and Install Microsoft Security Essentials [http://windows.microsoft.com/en-US/windows/products/security-essentials http://windows.microsoft.com/en-US/windows/products/security-essentials] (not an official endorsement, but I personally recommend MSE as an awesome permanent anti-virus)
    Double check for all Windows Updates.
    What is the website that opens up? Is it always the same, always different, one of a few, etc?

  • Help please:  Clicking an image to launch another web page?

    I have some images on a JSC created page. I'd like to give the user the ability to click on the images and have another web page brought up that shows a larger version of the image they clicked on.
    How can this be done?
    I know how to do it using a button that would sit under each image that would then launch another page that holds another image in a larger format, but is there a way to do this without using the button?
    The image does have the onclick JavaScript property, so I suppose that it could be used in some fashion, but I was thinking that maybe there was a way to integrate this with the page navigation built in to JSC (although looking at it I cannot see how).
    So, is it just a JavaScript thing needed (I'll try to look up how on the Internet if so) or is there a built in JSC way?
    Thanks!

    I have some images on a JSC created page. I'd liketo
    give the user the ability to click on the imagesand
    have another web page brought up that shows alarger
    version of the image they clicked on.
    How can this be done?
    I know how to do it using a button that would sit
    under each image that would then launch anotherpage
    that holds another image in a larger format, butis
    there a way to do this without using the button?
    The image does have the onclick JavaScriptproperty,
    so I suppose that it could be used in somefashion,
    but I was thinking that maybe there was a way to
    integrate this with the page navigation built into
    JSC (although looking at it I cannot see how).
    So, is it just a JavaScript thing needed (I'll tryto
    look up how on the Internet if so) or is there a
    built in JSC way?
    Thanks!
    Did you have a solution? You quoted my original message but didn't add anything to it.
    Anyway, I'm adding a few Duke Dollars to see if that will elicit some responses.
    Maybe this just cannot be done, and we need a new version (one that works with action events) of the HtmlGraphicImage that Creator provides.

  • How can i redirect to another JSP page automatically after some event

    I am developing a Tic-Tac-Toe game which can be played between two players who are on two different machines.
    When the first player comes to the Welcome page he will redirected to a Waiting Page when he clicks on the 'Start' button.
    When the second player comes to the Welcome page he will be redirected directly to the Game page, on clicking the 'Start' button.
    So how can i redirect the first player to the Game page after the second player is available for the game.
    And if i want to manage multiple instances of my game how can i do that//
    I am using JSP, javascript and MySQL for developing my project, and I am new to all these tools, but i would still like to carry on with all these only

    This is a bit of a challenge because of the nature of the web. Generally the web is "pull only" meaning that the browser has to initiate any interactions - the server can't push data to the browser if it wasn't asked to.
    The easiest way to solve this is using AJAX via JavaScript to periodically poll the server for any status changes. There are other ways (the Comet protocol is one) but they start to get a bit difficult and are still a bit new and not completely supported in a standards way. And to be honest they are still basically polling though in a more efficient way.
    Are you using a JavaScript framework? Most of the JavaScript frameworks that I've used have built in support for polling in the background. You'd have to have the JSP/servlet side be able to handle these polling requests from the browser and, when another person joins the game, the server indicates that and sends that back to the browser.
    As far as multiple instances I would have the server automatically pair up users as needed. So when the first player arrives he has to wait for another player. When the second player arrives a new game is created for those two players. Now a third player arrives and waits until a fourth player shows up. When player 4 joins another separate game is created. Presumably the conversation between the browser and the server will need to include a "game number" or other unique number so that the server can keep track of the games.

  • How do I defeat or whitelist the "Firefox has blocked this site from loading another web page" function?

    Often when I click a link within a web page, a message bar appears at the top of the page saying "Firefox has blocked this site from loading another page" or something similar. This happens frequently on banking or credit card sites. This is particularly annoying because it seems to disturb the operation of the link when I have to click the "Allow" box on the message bar. I would prefer to create a whitelist for this feature so it would not interrupt my banking operations. Failing that, I would like to know how to toggle the feature on and off. Failing that, I would like to know how to defeat the function.

    See:
    *Firefox > Options/Preferences > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    The setting in "Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
    See also:
    *https://support.mozilla.org/kb/settings-network-updates-and-encryption#w_general-tab
    *http://kb.mozillazine.org/accessibility.blockautorefresh
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • Can't download any Adobe plug-in updates - get redirected to another Adobe page over and over.

    FF Add-ons Manager tells me that 1) Shockwave Flash (11.9 r900), 2) Adobe Shockwave for Director Netscape (12.0.4.144) and 3) Adobe Acrobat (10.1.9), and are all vulnerable and that the last two are outdated.
    When I click update on any of them, the appropriate download page comes up in a tab.
    But when I click on download, nothing is downloaded and I'm directed to another Adobe page (the main home page I believe): http://www.adobe.com/
    This page has a list of downloadable links at the bottom. When I go to them I'm taken (again) to the download page for that add-on, but (again) when I click download, I'm redirected back to the Adobe home page.
    I've tried this about 15 times over 6 weeks. My feelng is that malware has compromised my FF and is blocking the update. I'm running AVG free and Windows Vista firewall.
    My computer is running Windows Vista on an AMD powered desktop and Firefox 26.0. I've included (I think) the trouble-shooting info.

    For Windows Vista, Adobe is not supporting the current Adobe Reader 11 / Adobe Acrobat 11 series, so what you have is the latest for your system. Mozilla's plugin check site currently does not recognize 10.1.9 as current, so you'll have to trust Adobe to keep you up-to-date and disregard the plugin site on this one.

  • Another web page in frame

    I have a frameset with just a topframe & mainframe. Is
    there a way to have another web address (home page) automatically
    open in the mainframe without having to click on a link. I have my
    information in the topframe and want another web address to open in
    the mainframe when my page (frameset page) opens. Thanks!

    Source that frame to the external site you want to appear
    there. Be aware
    of the following -
    1. You will get the entire home page in that frame, including
    its
    navigation
    2. You will get this provided the other site hasn't blocked
    you from doing
    this (which sometimes happens)
    3. Frames suck large boulders. You will need to rethink your
    layout plan
    if you don't want to inherit many problems both for yourself
    and your
    visitors.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Promoman" <[email protected]> wrote in
    message
    news:g4e1ik$cl9$[email protected]..
    >I have a frameset with just a topframe & mainframe.
    Is there a way to have
    > another web address (home page) automatically open in
    the mainframe
    > without
    > having to click on a link. I have my information in the
    topframe and want
    > another web address to open in the mainframe when my
    page (frameset page)
    > opens. Thanks!
    >

  • Passing an APEX variable to another web page outside of APEX

    I need to pass an item variable from an APEX page to another web site outside of APEX. Does anyone know what syntax I would need to use? It needs to keep the session in tact.
    Thanks.
    Kelly

    Ah, as I read more closely ...   You say
    FIND_USER_IN_DB is defined as an application item.
    Application items get treated differently from Page Items.  They aren't on any page so there's nothing to directly tie them to a particular page operation. [You may have tried an obvious approach that doesn't work.]  Please check where you
    sets FIND_USER_IN_DB to the value in &P8_USERNAME.
    Does it say "Page Item" / "Item" there?   Check the selector?  Can you select an Application Item.  If memory serves, my (sad) experience is that you can list an Application Item here but it doesn't "work" and there's no warning that it's a problem -- except it doesn't work!  Application Items can't be given values this way.  Hey, it is what it is.  That's the way it doesn't work!
    So I believe you must "Submit" FIND_USER_IN_DB and then you can reference it on Page 11.  There must be several ways to do this.  I'll seaarch / ponder for a plain vanilla one.
    Howard
    (more)
    Well, maybe I have to take it back.   There is this documentation that suggests you can pass Application Items. http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/bldapp_item_app.htm#BCEHFDDJ   See Note in Paragraph 8.
    "Note: If you must set this item's value in session state using Ajax, then an Unrestricted protection level must be used for the item (for example in Dynamic Actions, Set Value, Page Items to Submit or Cascading LOVs, Page Items to Submit)."
    I'll try to run a test.  Still, the best solution for me still seems to assign the value of P8_USERNAME to FIND_USER_IN_DB and then submit the page which will plce the value in session.
    (more)  I was able to pass an Application Item if I set Session State Protection to Unrestricted.  Probably not a good idea!

  • Display picture on another web page

    Hi,
    I'm a NEWBIE to dreamweaver...
    I have a web page that contains several pictures (small). When the client clicks on a small picture I want to display that particular picture (bigger) on another page. How would I go abouts doing this? Do I have to pass the filename, of the picture, to the other page? If so, what is the best way to do this.
    I currently use HTML and CSS to code the web site.
    Please Help.
    Thanks in advance,
    Marc

    I have a web page that contains several pictures (small). When the client clicks on a small picture I want to display that particular picture (bigger) on another page.
    Linking to an image as you have suggested doesn't link to a page as the OP described. An image is not a page unless it's contained in a page. If it's just an image then it's just that: just an image. It may open in a browser window or tab, but a browser window or tab is not necessarily a page. Link to a page by placing the image in the page in similar manner as how the thumbnails were added to a page then link thumbnail to the lardger image page by using anchor tag.
    <a href="you_image_page.html"><img src="th_thumb_image.jpg" ...
    best,
    Shocker

  • Can Spry display another web page within a detail region?

    I currently have a non-Spry enabled site I would like to add
    Spry to. Basically, it is a story/photo web site and I have
    separate pages created already for each photo "event" that includes
    text, pictures, etc. Right now I have a menu with all of the
    stories that the users clicks on and it takes them to that
    particular story. I also use templates to control a common look and
    feel and header, but basically, one web page per story (they are
    all similar, but varying # of pictures, paragraphs, etc.). It works
    fine, but it does reload the web page for every story.
    So, what I would like to do is have one region defined where
    I have a sorted list of "stories" with dates and brief descriptions
    and when a user clicks on one of the stories I would like it to
    display the web page I have already created in another
    region....kind of like message preview in Outlook. Anyway, I know
    it is easy enough to create an XML data set that defines the title
    of the story, date, etc., and I could even include a relative link
    of the actual web page story in the data set to define where the
    web page is. I guess my main question is, how would I display an
    entire web page inside the detail div "region"? I know if you just
    had a simple picture, it would look something like this: <img
    src="images/{@path}"><br/>Name:{@path}, but what tag could
    you use to pull in an entire web page to preview inside the detail
    div region?
    Thanks in advance!

    Well I don't know if this is exactly what you're looking for, but you can have a browser window pop up from an event in an applet. If you use something like:
    getAppletContext().showDocument(new URL(theUrl), "_blank");
    a new browser window will pop up with whatever URL you want.
    Hope that helps a little.
    -Sheepy.

  • Creating another web page

    When I open I-web it opens my website (www.taffyproductions.com). I have been asked to create another web site. How do I create another website and be able to access either one down the road. I-web doesn't act like normal applications, in that it seems to only access one project at a time.
    Thanks for anyone that can help!
    G

    iWeb stores your website information in a domain file located in Home Folder/Library/Application Support/iWeb.
    A new site can be created on the same domain file by selecting New Site from the iWeb File menu.
    It is better to start your new site on a separate domain file so that you can load your sites in to iWeb, work on them and publish them individually.
    See this page for ways of doing it.....
    http://iwebfaq.org/site/iWebMultiplewebsites.html
    Once you have published your website you cannot import these files back into iWeb. Therefore it is essential to backup your domain file(s) regularly - preferably to an external drive.

Maybe you are looking for