Adblock breaks this site

Javascript Help

Discussion in 'Web Programming' started by R, Dec 22, 2012.

Thread Status:
Not open for further replies.
  1. R

    R Legend
    Retired Administrator Roary Donor Mudkips Legendary

    Joined:
    Apr 4, 2011
    Posts:
    19,571
    Referrals:
    16
    Sythe Gold:
    572
    In Memory of Jon <3 n4n0 Sythe Awards 2013 Winner
    Javascript Help

    Not sure if I'm in the right place, never used this section before :eek:

    I'm customizing a theme for my Tumblr page, and I just need a little bit of help :)

    Currently, I have this code for a 'welcome message'
    Can I/How do I choose the title of the pop-up box?

    [​IMG]
     
  2. Yenthe666

    Yenthe666 Guru
    Banned

    Joined:
    Apr 10, 2011
    Posts:
    1,013
    Referrals:
    0
    Sythe Gold:
    0
    Javascript Help

    Sadly you can't change the title of the box anymore.
    Its a safety feature they built in, to avoid shady people of changing the pop-ups.
    So its not possible unless you open it in a HTML / new tab :/
    (if you'd happen to find a solution or trick, I need it too)
     
  3. Noam

    Noam Apostle of the Setting Sun
    $50 USD Donor New Competition Winner

    Joined:
    Jul 27, 2011
    Posts:
    2,993
    Referrals:
    1
    Sythe Gold:
    0
    Discord Unique ID:
    688859853535313930
    Discord Username:
    sarbaz#8969
    Two Factor Authentication User Gohan has AIDS
    Javascript Help

    If I'm not mistake, you can set it by adding a second argument to the alert function, so
    alert('MESSAGE HERE', 'I AM A TITLE');
    if that doesn't work then I doubt anything will. My JS is a bit faded now but in C# it is done like that.
     
  4. Yenthe666

    Yenthe666 Guru
    Banned

    Joined:
    Apr 10, 2011
    Posts:
    1,013
    Referrals:
    0
    Sythe Gold:
    0
    Javascript Help

    The problem is you can't make an alert box with two buttons inside it.
    For example "submit" "cancel" buttons inside Rwm his textbox.
    And I think thats what he's looking for :p

    In case you only need an "ok" button, than alerts work okay probably.
     
  5. R

    R Legend
    Retired Administrator Roary Donor Mudkips Legendary

    Joined:
    Apr 4, 2011
    Posts:
    19,571
    Referrals:
    16
    Sythe Gold:
    572
    In Memory of Jon <3 n4n0 Sythe Awards 2013 Winner
    Javascript Help

    Thanks for the help, but I don't think it's possible, cheers guys.
     
  6. Vorarg

    Vorarg Active Member

    Joined:
    Jan 21, 2007
    Posts:
    217
    Referrals:
    0
    Sythe Gold:
    0
    Javascript Help

    http://jqueryui.com/dialog/

    jQuery UI is your friend :)
     
  7. R

    R Legend
    Retired Administrator Roary Donor Mudkips Legendary

    Joined:
    Apr 4, 2011
    Posts:
    19,571
    Referrals:
    16
    Sythe Gold:
    572
    In Memory of Jon <3 n4n0 Sythe Awards 2013 Winner
    Javascript Help

< PHP powerbot topic bumper | Runescape Username / Password ID HTML >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site