Can anyone help with a creating a 'Pop Up' box?

Hi there,
Was wondering if anyone could help me with some javascript in my shopping cart. I have two things that I'm after but the second one might be too hard?
1. I need a pop up box saying "Please choose a shipping option" when they click on the 'Get Quote button' as it's not a mandatory field for quoting.
2. I'd love to have a pop up box in the shopping cart that won't let a customer proceed to getting quoted if their purchase is below $250.
Our quote button is "Charge to Franchise" and the website is www.harcourtsonlineshop.co.nz
Would love your help! I'm only able to do very basic things in BC.
Thanks for your time,
Kirsty

Alright... first off this only almost works.  I'm posting it because hopefully one of the js gurus around here can figure out what the issue is because I can't.
For me at least (testing in greasemonkey) it works fine until I make more than a couple changes in the shipping options menu, after which it just stops altogether.
You'll need jquery running obviously.
var tooltip = '';     
var total = $('tr.total').find('td:eq(2) > strong ').text();
total = parseFloat(total.replace(/[^0-9\.]+/g,""));
var unlockcharge = 250.00;
var t='';
$('body').append(tooltip);
function setPageState(){
     $('#tooltip').empty();
     t='';
     sel = $('select#ShippingOptions').val();
     var bt = (total < unlockcharge)? true: false;
     var ps = (sel == -1)? true: false;
     if(bt){
          t+='A minimum purchase of $250 is required for a quote.';
     if(ps){
          t+= 'Please select a shipping option.';
     if(bt||ps){
          $('#tooltip').html(t);
          $('#catshopquote').fadeTo(100, 0.5).on({
               'click': function(e){
                    e.preventDefault();
          $('#catshopquote').on({
               'mouseenter': function(e){
                    $('#tooltip').css({
                         'top': (e.pageY-15)+'px',
                         'left':e.pageX+15+'px'
                    }).fadeIn();
               'mouseleave': function(e){
                    $('#tooltip').fadeOut();
$('select#ShippingOptions').on('change', function(){
     setPageState();
setPageState();

Similar Messages

  • HT1365 Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window?

    I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window?  I'm trying to get a trial version of CS5. 

    You do not need to involve Creative Cloud to install/try the trial version of CS5...
    You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • Hi i recently created a document on iwork pages via my icloud account however when i click on the document now it doesnt seem like it saved the latest version? can anyone help with this?

    Hi i recently created a document on iwork pages via my icloud account however when i click on the document now it doesnt seem like it saved the latest version? can anyone help with this?

    Welcome to the Apple Community.
    Are you also trying to re-open it on the same device as you edited it.

  • Can anyone help with email in my old G4 17"  ??

    My G4 17", bought December 2004, is considered an antique by Apple, and no longer supported. (I now mostly use my early 2011 MacBookPro.)
    But the big screen on by G4 is very useful for Sibelius 4, the music program I mostly use (Sibelius 7 in the MacBookPro - but much too fussy for me.)
    Sibelius 4 in the G4 continues to work flawlessly.
    But my email account recently sort of died. It's  POP account (whatever that means). I can no longer receive messages, BUT I can still create and
    send new messages, and of course forward any saved message to myself in the MacBookPro.
    ALSO:  if I have to shut down the G4, it usually reopens with a horizontally divided display, and it usually takes many restarts before it will open
    will a full screen display (seems to reopen correctly more often if left in a cool place overnight.)
    Can anyone help with one or both these issues? I want to keep the G4 going as long as I can.  BTW, I don't use it for browsing anyone, Safari installed,
    because it is now so slow. The MacBookPro handles all that for me.
    Thanks very much, James Johnson in Plattsburgh NY (where it is still cold and wintry, o f--k)

    To RCCHARLES: THANKS !!!!  I did the safe boot start, following the link you provided, then waited, and waited, and waited, and ---
    Well that is interesting. Amoung other things safe boot does:
    -- check and fixes up your file system.  The files system allows you to keep files on your harddrive.
    -- Does all video rendering in software.
    You could have a one time glitch or harddrive is slowly failing.  If you never replaced the harddrive, it is time for a new one.
    You may want to consider getting a new harddrive.  The easiest way is to get an external drive.  No disassembly of the machine is required.
    You need an external Firewire drive to boot a PowerPC Mac computer [ a few G5's will boot from USB ].
    I recommend you do a google search on any external harddrive you are looking at.
    I bought a low cost external drive enclosure. When I started having trouble with it, I did a google search and found a lot of complaints about the drive enclosure. I ended up buying a new drive enclosure. On my second go around, I decided to buy a drive enclosure with a good history of working with Macs. The chip set seems to be the key ingredient. The Oxford line of chips seems to be good. I got the Oxford 911.
    I'd give OWC a call. 1-815-338-8685.
    FireWire 800 + USB 3, + eSATA
    save a little money interface:
    FireWire 400 + USB 2.0
    This web page lists both external harddrive types. You may need to scroll to the right to see both.
    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
         (2) FireWire 800/400 Ports (Up to 100MB/s / 50MB/s)
         (1) USB 3.0 Port (Up to 500MB/s / 60MB/s)
         (1) eSATA Port (Up to 300MB/s)
    Has a combo firewire 800/400 port.  Not sure what this is.  Looks like you will  need 400 cable.
    http://eshop.macsales.com/shop/ministack

  • HT2534 If only it were that simple. Many of us have no "none" available.  Since the guy on the other discussion clearly had no desire to help anyone, I thought I'd ask here instead... can anyone help with this?

    If only it were that simple. Many of us have no "none" available.
    Since the guy on the other discussion clearly had no desire to help anyone, I thought I'd ask here instead... can anyone help with this?

    Open iTunes and navigate to the app store. Select a free app to download. A simple way to do this is to scroll down to the top free apps box on the right hand side, hover your mouse over the first item and click on the free button that appears when you hover over it.
    A pop up will open asking you to sign in with your Apple ID click "create new account", click continue to create your account. Check the box to accept the store terms and conditions and click continue.
    Enter your email address, password, security question, and date of birth, click continue. Now, you will be asked to provide a payment method. Note now that the last option says "none".

  • Please can anyone help with the continuing password rejection problem with email.Ipad and other systems work fine but despite reloading my password on imac it bounces back.Apple store has been visited and I have tried everything they suggest.

    Please can anyone help with the continuing password rejection problem with email on my imac.My Ipad and other systems work fine but despite reloading my password on imac it bounces back.Apple store has been visited and I have tried everything they suggest.

    I use free Yahoo mail webMail access because folders I created in webmail access doesn't get set up in Apple Mail. While I was searching for post about password and keychain issues, I stumbled on several threads that complain about Mail folder issues, so I'm holding off on Apple Mail.
    On the password and keychain issue that your post is all about.  I've been using login keychain to save and automatical fill my login screens for a year or so successfully, with Safari and Chrome. Automatic form fill also works for Facebook login. Unfortunately, about 4 to 6 months ago, automatic password form fill stopped working with Yahoo webmail, while still worked for GMail (Safari and Chrome). I tried deleting the password entry for my two Yahoo email accounts to start fresh, but neither Safari not Chrome will even ask me if I want to save the password. I was so frustrated that I eventually installed the keypassX 0.43 (password manager) that is quite primitive sompare to OS X's keychain (when it works). Probably no surprise to you yet.
    The surprise, to me at least, is that, for whatever reason, password auto form-fill from keychain started working again for Yahoo webmail login on Safari about 5-7 days ago. Still doesn't work on Chrome!
    Two tips I can share, at least with webmail access:
    1. Password is save only for one of my yahoo mail accounts. When I login in with my other yahoo account, I get no prompt to save the password, and form fill doesn't work when I try to log in a second time with my other Yahoo mail account.
    2. On inspection of my login keychain, I see a webform password item saved for my Yahoo account that works with keychain. The name of the password is: login.yahoo.com(MyAccountName1#). When I open the password item and look in the Access Control tab, I see Safari and Chome are listed as allowed to access this password item..
         I also an "Internet password" item with a name of just login.yahoo.com. When I open the the password item, it looks just like the password item created for MyAccountName#1, but the MyAccountName#2 is listed in the Account field. Inside the Access Control tab, no apps are listed in access permission. I added Safari and Chrome to the lists of allowed app, saved the password item.
    Now when I bring up the Yahoo login page(by bookmark) on Safari, form fill fills in MyAccountname#1 for name and the proper password and I can login in. When I change the name to MyAccountName#2, the correct password is retrieved and I can log in! Alas, it still doesn't work on Chrome.
    BTW, I changed the password item type from "Internet password" to "Web Form password" and saw no difference! I also edited the name to be "login.yahoo.com (MyAccountName#2)" to look like the web form password item that works, but it has no effect either.
    From my experimentation, here's my observation:
    1. A Web Form password item is created for the first account name(MyAccountName#1) for login.yahoo.com and typed as Web Form password. When I log in using MyAccountName#2, an Internet Password is created, but no applications are listed as allowed to access the password item, even when the password item was created after just logged in and logged out to yahoo with the account name and password for MyAccountName#2.
    2. Manually adding Safari as an app that is allowed to use the password item works. Doesn't work with Chrome!
    The version of Safari I'm using is Version 5.1.7 (6534.57.2). My installed version of Chrome is Version 21.0.1180.79 beta.

  • Can anyone help with programming co ordinates.

    how do i develop a class specification for class points.
    //pointTest.java
    main(...)     
         Point P1;
         P1.create(24,16); // create a point with coordinates {24,16}
         P1.display(); // display the {X,Y} coordinates of P1
    can anyone help with coding to program two points. can anyone elaborate on the stubs shown above to develop one point.

    There's already a Point class. So use that.
    Unless this is a homework in which case, well, it's your homework isn't it? So why are you asking us?

  • I am new to Macs or Mac books can anyone help with

    i have bought a Mac book, its not new but its been fully refurbished
    But as I am completely new to the operating system, can anyone help with book marks, downloading pictures from a camera, using MS word
    I am hoping to use this mac book on my travels, so any help/advice would really be appreciated
    I got this Mac book as they seem to get online a lot better than any Windows laptop and I don't keep getting updates
    I just need help with saving word documents, saving book marks, passwords, accessing emails (I have a Hotmail account) and downloading photos from a card reader or camera
    I have
    Apple
    Mac Book
    MacBook4,1
    A1181

    Just to directly answer a few questions...
    ...if you use Safari, Apple's built-in browser, you can create a bookmark by holding down the command and D keys at the same time. I don't use Safari that much - I prefer Firefox mainly for the fact that there's a plug-in or extension for most anything you can imagine.
    There are two ways to transfer photos from your camera to your Mac - you can either use a USB cord (if your camera came with one) and plug it into a USB port and transfer photos or you can use the SD card socket on the left hand side of your MacBook Pro and take the SD card out of your camera and transfer your photos to your Mac.
    You have to purchase, if you haven't already, Microsoft's Office for Mac to work with Word. Office 2010 on Windows and Office 2011 for Macs are very similar so if you're familiar with the Windows side you'll have no problems.
    Best of luck,
    Clinton

  • Hi, can anyone help with the problem I am having with pro book 4440s? I can't boot into windows 7.

    Hi, can anyone help with the problem I am having with pro book 4440s?  I can't boot into windows 7, nor can I enter the bios cause i fogot the password. the error I am getting says "windows failed to start. a recenr hardware or software change might be the cause.   it then gives me options to boot from a disc but I can't do that cause I am unable to get into the bios to change it to boot from a disc.
    The error message goes on :
    File: \Boot\BCD
    Status: oxcoooooof
    info: An error occurred while attempting to read the boot configuration.
    the only two options on the screen are enter=continue and ECS=exit
    I just can't get pass this screen.
    Please help.
    Thanks

    Hi,
    If you don't already have one, use another PC to create a Windows 7 Rescue CD.  Download the relevant ISO from the links below.
    Windows 7 32bit
    Windows 7 64bit
    You should use an application such as ImgBurn to burn the ISO to a CD - a guide on using ImgBurn to write an ISO to a disc is Here.  Once created, or if you already have this, tap away at the esc key as you start the notebook to enter the Start-up Menu.  Insert the Rescue CD.  Select Boot options ( usually f9 ), use the arrow keys to select the CD/DVD drive and hit enter.  You may also get a prompt to 'Press any key to continue' - do this if asked.
    When loaded, select Repair Your Computer and choose the Command Prompt.  When this loads, enter the following commands and hit enter after each one - include spaces as shown.
    Bootrec.exe
    bcdedit /export C:\BCD_Backup
    c:
    cd boot
    attrib bcd -s -h -r
    ren c:\boot\bcd bcd.old
    bootrec /RebuildBcd
    bootrec /fixmbr
    bootrec /fixboot
    Remove the Rescue CD and try rebooting the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Can anyone help with iPlayer and Sky Mobile?

    Ok, I'm so close to giving up with this useless phone. There are 3 apps on my N97 which give me a constant headache.
    BBC iPlayer
    Sky Mobile*
    YouTube
    *I should point out that I only use Sky Mobile to set recordings on my Sky+. I do not use it for, nor have any desire to use it for actually watching Mobile TV.
    All of these apps work absolutely fine over my home WiFi network. It's when I try to use them over 3G (my Vodafone Live! connection) that I start running in to trouble.
    All 3 give me connection problems, errors, and simply refuse to load half the time when on 3G. I got so annoyed I just did a hard reset the other week, and magically all three started working again. However, now 2 of them are failing me again. YouTube (touch wood) is working fine at the moment, but iPlayer and Sky Mobile just aren't.
    iPlayer sometimes works. But sometimes I get script errors (unable to load content), and sometimes it says something about checking my connection settings. I wouldn't mind but it's not actually possible to access any options for the iPlayer. Even in application settings there are no options you're able to set.
    Sky Mobile simply flat out refuses to work ever on 3G. But it did after I did a hard reset for a couple of weeks, now it just stopped working! It wont even load. It just gives the error message 'Unable to connect to network - please check connection settings" or something along those lines.
    I've tried so many different things. Tried setting my internet connections to 'always ask', tried setting it to default to Vodafone Live! all the time, tried setting my video streaming settings to WAP, all sorts. Every combination I can think of.
    I just can't wait to get rid of this phone. I've put so many people off buying one. They see it and think it's all swish and cool, and I just say 'Don't. You'll regret it'. I can't wait for my contract to be up so I can upgrade to an iPhone now Vodafone have got them.
    Can anyone help with these problems? Thanks in advance, but I don't hold out much hope...

    About iPlayer.
    Have a chat with Vodaphone. Streaming iPlayer over 3G IS allowed on Vodaphone contract, unlike my O2 contract. As long as your contract allows it, and you have the correct AP address, it should be fine. Vodaphone should be able to give you the setting.
    Mine only works over Wlan.
    FWIW, "... streaming over 3G is not currently available on iPhone handsets on any mobile network".
    p.s. Just to be clear. You say  "Tried setting my internet connections to 'always ask', tried setting it to default to Vodafone Live!".
    iPlayer uses the Nokia browser "Web". So that's where you should make the setting "Ask when needed". It should then offer you the choice of whatever you've set in Destinations> Internet> then select whatever you've chosen as your GPRS connection.(as advised, or sent to you by Vodaphone).

  • My calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    my calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    Hi,
    To configure your ODBC DataSource, go to Control Panel ---> DataSources(ODBC) (If you are in a Windows environment).
    Select the tab System DSN. If you have not added your data source, then do so by clicking on the Add button. If you have added the datasource, click on the Configure button to configure it.
    Give the datasource name, then the database name.
    You have to give the hostname, service name and server name. I guess, in most cases, the datasource name and host name will be the same, service name and server name will be the same. If you are using TCP/IP, the protocol will be onsoctcp.
    There will be a file named Services under C:\WINNT\system32\drivers\etc where you have to give the port number for accessing this server.
    It will be like this <service name> <portnumber>/tcp
    Hope this helps...
    best wishes,
    Nish

  • Can anyone help with associate my new iPhone with iTunes? My other old devices are there, but I see only how to delete one, not how to add one.  Thank you.

    Can anyone help with associate my new iPhone with iTunes? My other old devices are there, but I see only how to delete one, not how to add one.  Thank you.

    iTunes Match is a subscription system that allows you to upload your own music (e.g. coped from CDs) to the cloud so that it shows (in the cloud) on your devices and computers without having to sync/copy it.
    Automatic downloads allows to, for example, buy an app on your computer's iTunes and have it automatically download on your phone without having to connect and sync it or go to the Purchased tab in the App Store app on your download and download it yourself - but doing that, going to the Purchased tab and redownloading an app, should get it associated.
    But no, I'm not aware of any problems that not having it associated causes.

  • Since updating to FF 8 I can no longer use Multirow book marks, can anyone help with this issue?

    Since updating to FF 8 I can no longer use Multi-row book marks, can anyone help with this issue? the one I used is here http://multirowbookmarkstoolbar.com/

    Try the support site:
    *http://multirowbookmarkstoolbar.com/forum
    *Multirow Bookmarks Toolbar Plus: https://addons.mozilla.org/firefox/addon/multirow-bookmarks-toolbarplus/

  • Hi there. Can anyone help with restoring my Mac to it's origin white, it has got very grubby. Thanking you.

    Hi there. Can anyone help with restoring my Mac to it's origin white, it has got very grubby. Thanking you.

    From here:
    http://forums.macrumors.com/archive/index.php/t-863188.html
    "You can use the Magic Eraser to clean the white plastic."
    "thanks for the Magic Eraser tip, I willtry that..so far I've been using disinfectant wipes, which work pretty well, too because of the alcohol in them"

Maybe you are looking for