HTML Redirect is working in muse but not after publishing... HELP!

I am setting up a "Coupon code" for a website I work on. I have set up a basic HTML Redirect box. It works properly in Muse but after publish it does not work correctly anymore. I understand the "password/coupon code" is available to find in the page code, and that's OK, thats the way i designed it. Here is the link to the page Ticket Center the coupon code is GOLDEN (all caps). It should redirect to: GOLDEN PROMO CODE Please let me know what i am missing. If it is not possible to use this code with muse after its uploaded, any suggestions would be helpful. Thanks!
Here is the promo code box code:
<div class="wrapper">
    <form class="form1" action="ticket-center.html">
        <div class="formtitle">
        </div>
        <div class="input nobottomborder">
            <div class="inputtext">
                Coupon Code:
            </div>
            <div class="inputcontent">
                <input type="password" id="password" /><br />
            </div>
        </div>
        <div class="buttons">
<input class="orangebutton" type="submit" value="Submit" onclick="if (document.getElementById('password').value == 'GOLDEN') location.href = 'promo-1sae452316ad.html'; else alert('Invalid Promo Code! Please try again. CASE MATTERS');" />
        </div>
    </form>
</div>

Presuming that I have 13 folders/directories that are
created by iWeb for each of the 13 'pages' in my
site, then I assume that to turn off the nav_bar, I
should paste 'the code' into each of the
[foldername].js files.
Is this correct?
I believe so, yes.
And to maintain this, I should be prepared to use
MassReplaceIt (+/-) to refresh this info after
Publishing to Folder any cosmetic and content
changes.
Yes
Before I do the 'paste', I would like verification
that:
1) it is in fact the [filename].js file that is my
correct choice/target.
Yes
2) when viewing the contents of the ...js file, it
seems like there would need to be some curly braces (
{ whatever ) stuff as well.
Hmm, I think it's ok just the way Cyclosaurus put it
document.getElementById('nav_layer').style.opacity = 0; // 0 = nav layer off, 1 = nav layer on.
But I could be wrong about that.
3) Does 'the Code' need to be inserted in any
particular place in the file?
Don't think so, no, but don't put it in the middle of something, if you know what I mean. The beginning or end would be best.
4) Today, I will work on moving the Content to the
Body instead of the NavBar area, but mo betta I could
just shut off the NavBar function entirely.
Well if you can do it without editing the js (move the content) then you won't have to keep re-editing after each publish.
5) Do you like Medium Roast or Dark roast - whole
bean or ground?
Hee hee... ALL OF THE ABOVE!!!

Similar Messages

  • Some websites keep asking to enable cookies in my browser when they are and I can't get this sites to see that, they worked fine yesturday but not now, any help

    Some websites keep asking to enable cookies in my browser when they are and I can't get this sites to see that, they worked fine yesterday but not now. I've restarted the browser, restarted the computer, disabled then enabled cookies in the privacy settings and still nothing. Any help?

    Hi,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Preloader works in Flash, but not after upload

    Hi all. I'm having problems with a preloader. When I test the
    preloader in Flash (using the simulate download option) it works
    like a charm. I publish and upload the file to the server...and
    when you visit the site, you just get a blank white page until
    everything is loaded. I have included the code. Please
    remember...it works correctly when simulating a download in Flash,
    but it does not work at all after upload. Any ideas?
    Thanks for the help!

    Naw...didn't work. I'm use CS3 and all the preloaders I ever
    did (using the same code) in CS2 worked fine. I'm creating the .swf
    using Actionscript 2.0 (not 3.0). Is there a problem when the
    document gets published with CS3 which would stop the preloader
    from working on the server?

  • PayPal button action works in preview but not when published

    Hi! 
    Any thoughts as to why this works correctly in CS5 publish preview but when I publish it I either get no action or (XP comupter) or a blank page (vista).  Any thoughts or insight would be appreciated.  Also, I'm new to flash and here's the button action:
    on (release) {
            //create the LoadVars that will hold our paypal information
            var paypal = new LoadVars();
            //specify the business, amount of the item, shipping, etc.
            paypal.cmd="_xclick";
            paypal.upload="1";
            paypal.business="[email protected]";
            paypal.currency_code="USD";
            paypal.amount="275.00";
            //paypal.handling = "0";
            //paypal.no_shipping = "0";
            paypal.item_name="One Session";
            //added
            //paypal.lc="GB";
            paypal.bn="PP-BuyNowBF";
            //paypal.no_note="1";
            //send our information to PayPal, including all the optional  variables we have collected from customer
             paypal.send("https://www.paypal.com/cgi-bin/webscr","_blank","POST");
    Thanks!
    Robert

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • Video files work on computer but not on published site

    I am definitely missing something here.
    I redesigned my website with iWeb and I am very pleased with the results. (The original site was done with Dreamweaver but then I migrated to Mac.)
    I published it to my computer to check everything and then put it up on my server with a ftp program (filezilla. works for me). The page shows great on internet.
    I now want to add a page with a newly created video. I drag the video clip on to the movie page I created. It is an avi file. On my computer it all works fine but when I publish it (to my computer to be sure it is OK), the video clip does not show up on the new page. I have tried with Safari, Firefox and Chrome. Same story on all.
    I am afraid to upload it to the internet before I sort this out.
    So my two questions would be:
    1. What am I doing wrong?
    2. What file formats does iWeb support?
    thanks for any help.

    The Miro Video Convertor is useful for format conversion if you want to provide as many as possible to encourage html5 playback in most browsers.
    If you don't want to be bothered with all this, fallback players will use an MP4 (or MOV) in most situations and fallback to flash for browsers like IE. Examples are JW Longtail, FlowPlayer and VideoJS.
    This method uses the QuickTime plugin. The problem is that, in a lot of cases, browsers will ask permission to run the plugin and visitors shouldn't be made to jump through hoops to get the movie to play.
    Its worth the extra effort to make sure that as many of your website visitors as possible can just click and play.
    A lot of people resort to Vimeo and YouTube but the problem with them is that visitors are tempted to leave your site at the end of the movie. Vimeo is better than YouTube in this respect and also has more customizing options.
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Flash video works onDreamweaver preview but not after uploaded to site

    Hi,
    I created a page with FW CS3 and opened it with Dream weaver.
    Using Flash CS3 I created some video clips. I then inserted three
    video files to the web page. In DW preview mode I can see the
    videos. I copy the source code and pasted it to the index page of
    my website as well as uploaded all the sit files from my hard drive
    folder to the website. The page comes up but not the videos.

    Search this forum for "FLASH" "UPLOAD". You'll find hundreds
    of answers.
    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
    ==================
    "SERocks" <[email protected]> wrote in
    message
    news:g11qep$n8m$[email protected]..
    > Hi,
    > I created a page with FW CS3 and opened it with Dream
    weaver. Using Flash
    > CS3
    > I created some video clips. I then inserted three video
    files to the web
    > page.
    > In DW preview mode I can see the videos. I copy the
    source code and
    > pasted it
    > to the index page of my website as well as uploaded all
    the sit files
    > from my
    > hard drive folder to the website. The page comes up but
    not the videos.
    >

  • IMovies works on iPad but not iPhone - please help!

    I got a new iPhone for Christmas, and was able to install iMovie, iPhoto and so on. I then realised they took a lot storage and deleted them again. Now I need iMovie again but cannot install it again! My iPad is able to but not my phone! Any ideas why or what to do?

    Hi there sera!!,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    -Griff W. 

  • For some reason I cannot download and view PDFs from a website, It works in chrome, but not Firefox, please help.

    When attempting to download a PDF, (detailed bill description) the download appears in the OS X download folder. When attempting to click on that file, a warning comes up that the file is empty.
    When I switch browsers and navigate to the same page, (Chrome), the document downloads and I'm able to view the document.
    I updated the browser to version 33.1, but that didn't help.

    Do you have parental controls enabled on your computer or have other security software that might interfere?

  • Works in preview but not when published in captivate 8?

    My youtube widget used in captivate 8 works just fine in the preview, but when published there's nothing where the video should be, any idea as to why?

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • GPRM Button scripts work in Simulate, but not after burning

    Hello everyone:
    I have a question regarding GPRM-based buttons and scripting menu navigation. My scripts work perfectly in DVD Studio Pro's simulate mode, but after building and formatting a DVD, the scripts do not function properly on a set top box, in Apple DVD Player, or when playing from the Video TS folder. The scripts were based off of a tutorial by Hal MacLean at dvdstudiopro.co.uk.
    Essentially, I have one track which is accessed via a Main Menu or a Chapters Menu. There is an animation that plays at the head of each menu, so menu has a loop point. The user should return to the correct screen, the correct button should be highlighted, and the menu should jump to the loop point. All of these things happen in simulate mode, but after burning, the loop point is ignored: The correct menu and buttons are highlighted, but the menu plays from the beginning. Here is how the project is laid out:
    From the main menu, if the user chooses Play Movie, the following script plays:
    mov GPRM 0, 1
    Jump Feature
    From the main menu, if the user chooses Chapters, the following script plays:
    mov GPRM 0, 0
    Jump Chapters Menu
    Each of the chapter buttons is assigned to the start of a scene. The feature's menu call is assigned to the following script:
    mov GPRM 1, SPRM 8
    div GPRM 1, 1024
    Jump Main Menu(Loop) [GPRM 1] if (GPRM 0 = 1)
    Jump Chapters Menu(Loop) [GPRM 1]
    I was able to make the menus behave properly by writing the scripts this way:
    mov GPRM 1, SPRM 8
    div GPRM 1, 1024
    Jump Main Menu Script [GPRM 1] if (GPRM 0 = 1)
    Jump Chapters Menu Script [GPRM 1]
    Main Menu Script:
    Jump Main Menu(Loop)
    Chapters Menu Script:
    Jump Chapters Menu (Loop)
    But, although the user is returned to the correct menu and the loop point, now only the default button is highlighted.
    Has anyone run into the same issues? Can anyone see any flaws in my scripts, or have any suggests? i would really appreciate any thoughts you all have. Thanks for your time!

    Do you have any pre scripts atached to the menus? I was having the same problems as you and found that pre scripts and GPRMs don't play nice (at least in DSP). Removing the pre scripts solved my issue.
    http://discussions.apple.com/message.jspa?messageID=4643747#4643747
    Good luck!

  • Popups work in preview but not in compiled help

    Hello,
    I am using Robohelp 8 and have been having problems displaying popups in my compiled help. When I view a topic that contains popup links in the WYSIWYG, I can preview the popup topics with no problem, but when I compile and click on a link that contains a popup, nothing happens. I get a warning in the bottom of the browser window that says "Error on page" with no further details. Is there a setting somewhere that I need to adjust. I have never had this problem before.
    Thank you in advance for any input.
    Adrienne

    Hi there
    The popup functionality depends on the ehlpdhtm.js file. Years ago I had a large project where popups broke in topics that were heavily buried in a deep folder structure. I managed to make them work by amending the path to the js file so it was shorter. This also meant I had to copy the js file to the folder where the popups were broken.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • [SOLVED] broadcom-wl works during install, but not after.

    I have this macbook air which I'm beating into submission, and it has a broadcom wifi chip. I followed the instructions here for the installation and it worked perfectly. After booting into my newly installed system I do the same, but when I do 'modprobe wl' it fails with:
    # modprobe --verbose wl
    insmod /lib/modules/3.14.5-1-ARCH/extramodules/wl.ko.gz
    modprobe: ERROR: could not insert 'wl': Invalid argument
    I checked with 'lsmod' and none of the blacklisted modules are loaded. I have no idea how to proceed but it should work since it worked during installation. Any pointers would be greatly appreciated!
    EDIT: As  user Namarrgon on irc pointed out, I needed to rebuild the broadcom-wl package. The reason it worked in the live usb and not in the installed system is probably because the installed system had a later kernel than the one on the live usb.
    Last edited by l4than-d3vers (2014-06-05 11:31:35)

    At least for rt2870sta, it's a retarded bug in Linux that was introduced in 2.6.31 and is still not fixed. It works in the live environment because it has an older kernel.
    Kernel 2.6.31 module conflicts
    The 2.6.31 kernel caused the rt2870 driver to conflict with other wireless modules. The fix in this thread says that you need to blacklist the rt2800usb rt2x00usb and rt2x00lib modules by modifying the MODULES array in /etc/rc.conf
    MODULES=( ... !rt2800usb !rt2x00usb !rt2x00lib ... )

  • NavigateToURL Works During Testing But Not Once Published

    Trying to create a simply hyperlink in Flash.  Works perfectly during testing.  But when I upload to the net, clicking the link takes me to www.thirdnewhope.com/iamtnh.blogspot.com rather than to just www.iamthn.blogspot.com.  I've tried changing allowscriptaccess to always.  That doesn't work either.  I am stumped :-(
    AS3 code:
    button_1.addEventListener(MouseEvent.CLICK, goClick);
    function goClick(evt:MouseEvent):void {
       var url:String = "http://www.iamtnh.blogspot.com";
       var req:URLRequest = new URLRequest(url);
       navigateToURL(req, "_blank");
    HTML code:
    <div id="flashContent">
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="400" id="events2013" align="middle">
                    <param name="movie" value="events2013.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#000000" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="window" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--[if !IE]>-->
                    <object type="application/x-shockwave-flash" data="events2013.swf" width="560" height="400">
                        <param name="movie" value="events2013.swf" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#000000" />
                        <param name="play" value="true" />
                        <param name="loop" value="true" />
                        <param name="wmode" value="window" />
                        <param name="scale" value="showall" />
                        <param name="menu" value="true" />
                        <param name="devicefont" value="false" />
                        <param name="salign" value="" />
                        <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                        <a href="http://www.adobe.com/go/getflash">
                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                        </a>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
            </div>

    WOW!!!  Knew it would be something simple causing so much pain :-)  Thank you kglad!!!

  • Masking works in preview but not when published

    I am dynamically loading higher-res images into a movie clip
    that
    correspond to the place in a 360 degree rotation the main
    clip is at,
    then resizing that movie clip to "zoom" the image. Since I
    don't want
    to overflow the whole screen, I've created another movie clip
    that
    masks the loader movie clip.
    When I preview the flash file, it works perfectly. When I
    publish the
    file, the mask doesn't get applied. Thoughts?
    zoom_btn.onPress = function(){
    if(iszoomed == false){
    loadMovie("zoomimages/" + Math.floor((_currentframe-4)/3) +
    "big.jpg", image_mc);
    stop();
    zoom_btn.onRelease = function(){
    if(iszoomed == false){
    Loading progress loop begins, extra code
    removed...
    if (pcLoaded >= 99){loader_mc._alpha = 0;
    image_mc._visible = true;
    myMask_mc._visible = true;
    image_mc.setMask(myMask_mc);
    .....Loading progress loop ends}
    iszoomed = true;
    }

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • Titles work in iMovie but not after I export them

    Everything seems to be working normally in my iMovie project but when I export the video, some of the titles are no longer readable (they seem too transparent). When I view the project is full screen mode - it works but once I finalize it and export it, the last few titles get messed up.
    I cannot change the color of the text because I am using the "pixie dust" title (which is only in one color).
    I have tried clearing the cache, closing iMovie, restaring my computer, duplicating the projects and deleting the old ones...
    What else can I do?
    THANK YOU!

    Open it in QuickTime Player. Then press Command-I to open the Inspector.
    Tell us what you see next to the word FORMAT: and also tell us the dimensions.

Maybe you are looking for