SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing label on alert box

    Gudday all
    Just finished writing a little js script to detect if a user has not selected a radio button before submission to a shopping cart when I noticed the label of the alert box. See attachment.

    Is it possible to change the label from the rather dull 'JavaScript Application' to something else?
    Attached Images Attached Images
    ========================
    Carn the Tiges!
    www.petalsandpatches.com

  2. #2
    SitePoint Evangelist vikrantkorde's Avatar
    Join Date
    Jun 2004
    Location
    Mumbai, India
    Posts
    541
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Tigers!,
    Image is not visible, due to pending approval.
    you can use DIV instead of normal alert box for showing the data. In the DIV you can change the look and feel the way you want it.
    Vikrant Korde
    S Y S T I M E, Mhape,
    Mumbai, Maharashtra, India.

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dear vikrantkorde
    Thank you for the reply. I had never thought of using a DIV.
    Though I'd guess you would have to make it appear in its own window wouldn't you?
    ========================
    Carn the Tiges!
    www.petalsandpatches.com

  4. #4
    Function Curry'er JimmyP's Avatar
    Join Date
    Aug 2007
    Location
    Brighton, UK
    Posts
    2,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Tigers! View Post
    Though I'd guess you would have to make it appear in its own window wouldn't you?
    Not necessarily, you can just pop it up within the page.

    You can set an onclick event on a link to make a DIV visible. - Which can be styled using CSS.
    James Padolsey
    末末末末末末末末末末末末末末末末末末末
    Awesome JavaScript Zoomer (demo here)
    'Ajaxy' - Ajax integration solution (demo here)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •