Results 1 to 34 of 34

Thread: Pop Up & Pop Up again
      
   

  1. #1
    Nyoman is offline Major
    Join Date
    Sep 2005
    Location
    heavenly-temple
    Posts
    426

    Default Pop Up & Pop Up again


    Simple way to open window as a popup.
    on the link just type this:
    Code:
    "#" onClick="window.open('http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;"
    Change the page name and the size according what you want
    If you are using Bluevoda, eliminate the first quote " of the code because will be automatic added by Bluevoda itself.
    make like this:
    Code:
    #" onClick="window.open('http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;"
    Please note, this is only work after you publish your page
    Hope this simple tips can help you to open popup window according your need
    .
    .
    Nyoman

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Pop Up & Pop Up again

    Wonderfull Tip! Thanks Nyoman!
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    fnt's Avatar
    fnt
    fnt is offline Captain
    Join Date
    Mar 2006
    Location
    Kaneohe, Hawaii
    Posts
    210

    Default Re: Pop Up & Pop Up again

    WOOWWWOWOWOWOWOWOWOWWW!!!!!!!!!!!!!!
    so simple...
    thanks for just laying it out there Nyoman...
    wow

  4. #4
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,428

    Default Re: Pop Up & Pop Up again

    excellent!

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  5. #5
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    Excellent Nyoman
    quick and simple
    by the way if you want to do this tip but want to custom the window with scroll bar or tool bar etc vist
    http://www.dynamicdrive.com/dynamicindex8/popwin.htm
    simple way to custom your popup window

  6. #6
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    This worked really well and is doing the 'pop-up thing' just like I wanted it to, except for one thing - when I click on the menu button it opens 2 pages instead of just one! The code is not in there twice! I have the same codes for the corresponding hyperlink topics on the home page and they work just fine. Could somebody please tell me how to fix the problem? The domain is www.lsjservices.com and the code I have in the Accounting menu button is: #" onClick="window.open('http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;"

    Thanks much!

    Linda

  7. #7
    asirimarco's Avatar
    asirimarco is offline Brigadier General
    Join Date
    Jun 2006
    Location
    Indiana
    Posts
    1,207

    Default Re: Pop Up & Pop Up again

    just looking at what you have and what the example was - after.html',",'width (yours) and the example .html','','width between the 2 commas is that supposed to be a quote or 2 aphostrophies? don't know if that would make a difference i know nothing about this - was just comparing the two.

  8. #8
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    Thanks for the suggestion and for trying, but that's not the problem.

    Linda

  9. #9
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    Hi 711inda had a quick look at your code and have come up with this . i have change it to appear top centre. try it.
    <TD align="centre" valign="top" width="131" height="27"><A href="onClick="window.open('http://www.lsjservices.com/proofreading.html', '','width=400,height=200'); return false;""><IMG id="bv01005" src="bv01005.gif" alt="#" onClick="window.open('http://www.lsjservices.com/proofreading.html', '','width=400,height=200'); return false;"" align="top" border="0" width="131" height="27" onmouseover="SwapImage(1,0,'bv01005','bv01005_over .gif')" onmouseout="SwapImage(0,0,'bv01005','bv01005.gif') "></A></TD>

    That does away with the two popups

  10. #10
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    Thank you so much for your help! I have to put all of that code in? But why do the codes that are in the links for the text items work perfectly? And the exact same codes were used for the menu buttons! Why is it different for the menu buttons? It just doesn't make sense to me that there would be any difference - a hyperlink to a page is a hyperlink to a page, whether it be from text or a menu button, right? Or maybe I'm wrong and don't know diddly about what I'm talking about!! LOL Which is probably the case! Thanks again!

  11. #11
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    the script you were using for the menus. was a combination of both scripts, it had the menu script + the text script it why it was open twice

  12. #12
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    I just tried putting in all of the code you gave me but, after I re-published, all of the code actually showed up on the page and my buttons got moved around. You said that I had both the menu script and the text script in the link for the menu buttons. How can I remove one of the scripts? Is that possible?

    Thanks much! :)

  13. #13
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    how did you put the code in ? if you put a html box on your page then enter the code in to that, reduce size of html box to about the size of the button then preveiw to check the postion move untill the button appears in right place.

  14. #14
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    I don't really understand what you're talking about. I used BlueVoda to create the web page and it's a very simple program - which is a good thing for me! All I do is click on the menu button on the page I'm designing, then put in the URL. The first URL I put in was just the regular link to the page I wanted to open. But it opened up as a whole page instead of a pop-up window, but it didn't open twice. The same thing happened with my text hyperlinks. Then I was told to do that other code thing and it worked for the text hyperlinks perfectly, but it opens 2 pages from the menu buttons. It seems to me that if something is in there twice, which it obviously is because the page opens twice, there ought to be a way to eliminate one of them, which would seem to be the easiest way to remedy the situation. But what do I know??!! I'm not a programmer and I don't know coding.

  15. #15
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    open a new page click the html button on your tool bar, a box will appear on your page now double click the box and paste the code into it, press ok then click the preveiw button, when the preveiw starts click the button. here an example Here click the black button on right.

  16. #16
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    Okay, I did that. And I can see how wonderfully it works! But......how do I get that to be my menu button on my home page?

  17. #17
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    if you have button images on the page delet them and replace with the html boxs, one for each button, you must change the button code within the script also the ulr or you will get all the same buttons. just in case your stuck i've done the scripts for enter the hole of the script into a html box make the box about the same size as the buttons, then postion were you want the buttons, preview the page move box untill in right postion.then publish.

    <TD align="left" valign="top" width="131" height="27"><A href="<A href="http://lsjservices.com/index.html"><IMG">http://lsjservices.com/index.html"><IMG id="bv01001" src="bv01001.gif" alt="http://lsjservices.com/index.html" align="top" border="0" width="131" height="27" onmouseover="SwapImage(1,0,'bv01001','bv01001_over .gif')" onmouseout="SwapImage(0,0,'bv01001','bv01001.gif') "></A></TD>
    <TD width="4"></TD><TD align="left" valign="top" width="131" height="27"><A href=" onClick="window.open('http://www.lsjservices.com/accounting.html', '','width=400,height=200'); return false;""><IMG id="bv01002" src="bv01002.gif" alt="http://#" onClick="window.open('http://www.lsjservices.com/accounting.html', '','width=400,height=200'); return false;"" align="top" border="0" width="131" height="27" onmouseover="SwapImage(1,0,'bv01002','bv01002_over .gif')" onmouseout="SwapImage(0,0,'bv01002','bv01002.gif') "></A></TD>
    <TD width="4"></TD><TD align="left" valign="top" width="131" height="27"><A href=" onClick="window.open('http://www.lsjservices.com/computer_cleanup.html', '','width=400,height=200'); return false;""><IMG id="bv01003" src="bv01003.gif" alt="#" onClick="window.open('http://www.lsjservices.com/computer_cleanup.html', '','width=400,height=200'); return false;"" align="top" border="0" width="131" height="27" onmouseover="SwapImage(1,0,'bv01003','bv01003_over .gif')" onmouseout="SwapImage(0,0,'bv01003','bv01003.gif') "></A></TD>
    <TD width="4"></TD><TD align="left" valign="top" width="131" height="27"><A href=" onClick="window.open('http://www.lsjservices.com/computer_training.html', '','width=400,height=200'); return false;""><IMG id="bv01004" src="bv01004.gif" alt="#" onClick="window.open('http://www.lsjservices.com/computer_training.html', '','width=400,height=200'); return false;"" align="top" border="0" width="131" height="27" onmouseover="SwapImage(1,0,'bv01004','bv01004_over .gif')" onmouseout="SwapImage(0,0,'bv01004','bv01004.gif') "></A></TD>
    <TD width="4"></TD><TD align="left" valign="top" width="131" height="27"><A href=" onClick="window.open('http://www.lsjservices.com/proofreading.html', '','width=400,height=200'); return false;""><IMG id="bv01005" src="bv01005.gif" alt="#" onClick="window.open('http://www.lsjservices.com/proofreading.html', '','width=400,height=200'); return false;"" align="top" border="0" width="131" height="27" onmouseover="SwapImage(1,0,'bv01005','bv01005_over .gif')" onmouseout="SwapImage(0,0,'bv01005','bv01005.gif') "></A></TD>

  18. #18
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    delete the first button script
    <TD align="left" valign="top" width="131" height="27"><A href="<A href="http://lsjservices.com/index.html"><IMG">http://lsjservices.com/index.html"><IMG id="bv01001" src="bv01001.gif" alt="http://lsjservices.com/index.html" align="top" border="0" width="131" height="27" onmouseover="SwapImage(1,0,'bv01001','bv01001_over .gif')" onmouseout="SwapImage(0,0,'bv01001','bv01001.gif') "></A></TD>

    as this is a normal button.

  19. #19
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    When I first looked at all of this gobble-de-gook, I said to myself that there's no way I can do this!! But I looked at it a few different times and thought it through, then I did it and I thank you from the bottom of my heart! I did look at the HTML of my original menu buttons (I figured out how to do that all by myself!), and the code was definitely in there twice and there was no way for me to delete the 2nd code. I reported it as a bug in the forum, but I see that somebody has taken my post off - hopefully to work on the problem! Anyway, the menu buttons work perfectly, and I thank you again, but I have one more teensy problem, then I'll be outta' your hair! When I do a 'mouse over', the buttons don't work like the home page one. Is there any way to make them work like that one? Please? At this point, I'm just very glad that only one window opens now instead of 2, if somebody decides to go to the site.

    Thank you, thank you again!! This has been very frustrating for me because I don't know what I'm doing, and nobody else had any solutions remotely close to being a correct one! I do appreciate your efforts.

    Linda

  20. #20
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    Hi
    in the script you will see ,'bv01005','bv01005_over .gif' . open your ftp manager on the right side look for the buttons bv01005 and bv01005_over.gif copy them back down to your computer to were you can find them . then check them do this for all the buttons involed. a easyier way is to do it is to make a new page put buttons on the page that you want ie name,stlye, mouseover, then publish. then go to ftp manager find the new buttons on right write down there names exact names ( for 4 buttons you have 8 names ) then replace the bv namesin script with new ones. delete the page you published then new buttons on.

  21. #21
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    You're really trying to turn me into a programmer, aren't you?? LOL If I had any clue as to what I was doing it would be a big help! LOL Luckily, I'm trainable, as evidenced by my successful completion of the previous instructions, but this is pushing it!! LOL I'll see what I can come up with and get back to you! Thanks again!! ;)

  22. #22
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    No problem, have faith in your Abilities and anything is possible.

  23. #23
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    LOL Well, having faith and having abilities are 2 entirely different things!! LOL I may have the faith but the ability is sorely lacking!! LOL Anyway, they're almost there! I had a heck of a time trying to find the FTP Manager, but I managed! No pun intended! ;) My only problem now is that when I do a mouse over, the button doesn't change, but I see a #. They don't change the way the Home button does. I didn't put in a URL for the buttons on the new page I created and published. Was I supposed to? Or is there something else I'm supposed to do that I missed?

    Thank you once again! :)

    Linda

  24. #24
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    have you published the new page if so can you post it please i will have a look .

  25. #25
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    Yes, it's published. www.lsjservices.com

  26. #26
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Pop Up & Pop Up again

    in the script find 1,0,'bv01010','bv01010_over .gif')" onmouseout="SwapImage(0,0,'bv01005','bv01005.gif') the bit in red need to be the same as blue

  27. #27
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    I was wondering about that, but it wasn't in the original instructions so I didn't change that one. ;) Okay, one more try!

  28. #28
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    That didn't fix it. :(

  29. #29
    Nyoman is offline Major
    Join Date
    Sep 2005
    Location
    heavenly-temple
    Posts
    426

    Default Re: Pop Up & Pop Up again

    as bluevoda navigator button is using fix script and include alt text, so to avoid double up onclick script make sure you fill it up every alternate text on each button with whatever you want.

    double click your navigation button >edit > alternate text.

    Try
    .
    .
    Nyoman

  30. #30
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    I knew it had to be something very simple that was causing me such grief! Thank you so much for your help!

    Linda :)

  31. #31
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    5 minutes and the problem was fixed, and I've been messing around with this for days!! Thank heavens I didn't delete everything and start over as I was instructed to do by somebody. It made no sense that if the URL worked for the text hyperlinks, it had to work for the menu buttons! But I didn't have any idea why it would open twice with the menu buttons and why the script was duplicated there. I would think they need to fix that. Thank you again! My site is now up and running and good to go!

    Linda :)

  32. #32
    Nyoman is offline Major
    Join Date
    Sep 2005
    Location
    heavenly-temple
    Posts
    426

    Default Re: Pop Up & Pop Up again

    No worry, it was my pleasure.

    good luck with your site
    .
    .
    Nyoman

  33. #33
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Smile Re: Pop Up & Pop Up again

    Thank you so much! I just hope it helps generate some income! ;)

  34. #34
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,428

    Default Re: Pop Up & Pop Up again

    thread closed

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49