Making An Html Pop Up

Discussion in 'Spam Heaven' started by .killjoy, Aug 4, 2006.

  1. .killjoy

    .killjoy Well-Known Member

    Age:
    31
    Posts:
    1,565
    Likes Received:
    0
    Joined:
    Jul 10, 2004
    I would like to maybe learn how to make an html pop up for my website and impliment an image to it can anyone show me some basic code and where to put it and hwo to say it and such, much appreciated!
     
  2. .entropy

    .entropy Senior Member

    Age:
    31
    Posts:
    3,318
    Likes Received:
    0
    Joined:
    Oct 9, 2005
    I think it's java script, if it is, can't help ya. Did you google it first?
     
  3. .killjoy

    .killjoy Well-Known Member

    Age:
    31
    Posts:
    1,565
    Likes Received:
    0
    Joined:
    Jul 10, 2004
    I looked around pixel2life. Couldn't find to much help I guess I'll keep on looking there, I'm still kind of new to the coding business.
     
  4. Couch_Tater

    Couch_Tater Well-Known Member

    Posts:
    217
    Likes Received:
    0
    Joined:
    Jul 18, 2006
    i can do the java scipt pop-up

    first i need to know what website maker you're using... cause it changes depending on what your using...

    the code is

    Code:
    <script language="JavaScript">alert("your message here") </SCRIPT>
    keep the quotes on that

    im not sure if you can put pictures on it though... but ill try it

    if this helps i might like donations for the "tutorial type thingy", if you feel like it helped enough...
     
  5. .killjoy

    .killjoy Well-Known Member

    Age:
    31
    Posts:
    1,565
    Likes Received:
    0
    Joined:
    Jul 10, 2004
    Yup thats what I'm looking for , can you just impliment it into html? also can I add an image if nots its fine, I would appreciate it very much if you could send a pm over with what you know.

    -thanks.
     
  6. Couch_Tater

    Couch_Tater Well-Known Member

    Posts:
    217
    Likes Received:
    0
    Joined:
    Jul 18, 2006
    umm, i dont know if i can get it into html... "im not that good at coding" but because of the part that it says "<script language="JavaScript">" it tells what your using that its javascript so it should work... unless its like myspace that doesnt allow javascript "for a reason"


    and it turns out that you might be able to add pics to it, but since the code is javascript and i dont know anything else in java-script... i cant help... sorry, if you can find out how to add pics in java-script, it might work
     
  7. .killjoy

    .killjoy Well-Known Member

    Age:
    31
    Posts:
    1,565
    Likes Received:
    0
    Joined:
    Jul 10, 2004
    Well I noticed an error in my .psd so I'm going to have to head back to photoshop and edit some stuff so I guess I can full around with this stuff.

    Thanks for the help I'm sure I can get it working form here.
     
  8. Couch_Tater

    Couch_Tater Well-Known Member

    Posts:
    217
    Likes Received:
    0
    Joined:
    Jul 18, 2006
    cool, tell me if it works out...
     
  9. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    if you want it to open nly on certain occasions, like when you click something, just ask and i can help with that
     
  10. KinXiom

    KinXiom Well-Known Member

    Posts:
    1,802
    Likes Received:
    0
    Joined:
    Jul 10, 2006
    my myspace has one lol, i dunno if you want its code
     
  11. Couch_Tater

    Couch_Tater Well-Known Member

    Posts:
    217
    Likes Received:
    0
    Joined:
    Jul 18, 2006
    yeh, i'd like to know how to make it pop-up when you click something... or is it just another page that pop-ups in a different screen?

    and how'd you get one on your myspace?
     
  12. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    Javascript is disabled on myspace, so you must mean its a link with a target to a new window.

    You want a new website window to open when you click something, right?

    First, create a javascript function, put this within the <head> tag:
    The things in red can be changed.

    Make toolbar=1 to have the popup window have the toolbar.
    Make menumar=1 to have the popup window have the menubar
    Make scrollbars=1 to allow scrollbars to appear if the page expands pass the popup window limits
    Make resizable=1 if you want to allow the user to change the size of the window
    Use width and height if you want the popup to have a set size, otherwise remove.

    Then, go to what the user will be clicking. I'll use a button for an example.

    I'm doing most of this off memory, so I haven't tested it. I believe the javascript should be mostly right, but I may have messed it up.

    If anythings wrong, somebody correct me.

    Or are you just looking for a link to open in a new window? If so

     
  13. Couch_Tater

    Couch_Tater Well-Known Member

    Posts:
    217
    Likes Received:
    0
    Joined:
    Jul 18, 2006
    like, i was asking, lol and how would you be able to have that on myspace anyways, cause javascript is "illegal"
     
  14. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    I'm betting you could create one page, host it somewhere, and put the javascript in that. Then, on your myspace profile, iFrame that website. May or may not work, I'm just guessing here :P
     
  15. Couch_Tater

    Couch_Tater Well-Known Member

    Posts:
    217
    Likes Received:
    0
    Joined:
    Jul 18, 2006
    tell me about this "iFrame" please
     

Share This Page