Pop Up & Pop Up again

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Nyoman
    Major

    • Sep 2005
    • 426

    Pop Up & Pop Up again


    Simple way to open window as a popup.
    on the link just type this:
    Code:
    "#" onClick="window.open('http://[COLOR=magenta]www.yourdomain/yourpage[/COLOR].html', '','width=[COLOR=magenta]300[/COLOR],height=[COLOR=magenta]300[/COLOR]'); 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.[COLOR=magenta]yourdomain/yourpage[/COLOR].html', '','width=[COLOR=magenta]300[/COLOR],height=[COLOR=magenta]300[/COLOR]'); 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
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    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!

    Comment

    • fnt
      Captain

      • Mar 2006
      • 210

      #3
      Re: Pop Up & Pop Up again

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

      Comment

      • VodaHost
        General & Forum Administrator

        • Mar 2005
        • 12356

        #4
        Re: Pop Up & Pop Up again

        excellent!

        VodaHost

        Your Website People!
        1-302-283-3777 North America / International
        02036089024 / United Kingdom
        291916438 / Australia

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

        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)


        Comment

        • Aliens Anonymous
          Special Status

          • Jan 2006
          • 1144

          #5
          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

          simple way to custom your popup window

          Comment

          • L711inda
            Sergeant

            • Aug 2006
            • 21

            #6
            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

            Comment

            • asirimarco
              Brigadier General

              • Jun 2006
              • 1208

              #7
              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.
              Ann
              www.MovingOn1.com - My Travel
              www.BeadedCustomDesigns.com - Jewelry
              www.FantasyManorArtStudio.com - Leather Art

              Comment

              • L711inda
                Sergeant

                • Aug 2006
                • 21

                #8
                Re: Pop Up & Pop Up again

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

                Linda

                Comment

                • Aliens Anonymous
                  Special Status

                  • Jan 2006
                  • 1144

                  #9
                  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

                  Comment

                  • L711inda
                    Sergeant

                    • Aug 2006
                    • 21

                    #10
                    Re: Pop Up &amp; 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!

                    Comment

                    • Aliens Anonymous
                      Special Status

                      • Jan 2006
                      • 1144

                      #11
                      Re: Pop Up &amp; 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

                      Comment

                      • L711inda
                        Sergeant

                        • Aug 2006
                        • 21

                        #12
                        Re: Pop Up &amp; 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! :)

                        Comment

                        • Aliens Anonymous
                          Special Status

                          • Jan 2006
                          • 1144

                          #13
                          Re: Pop Up &amp; 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.

                          Comment

                          • L711inda
                            Sergeant

                            • Aug 2006
                            • 21

                            #14
                            Re: Pop Up &amp; 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.

                            Comment

                            • Aliens Anonymous
                              Special Status

                              • Jan 2006
                              • 1144

                              #15
                              Re: Pop Up &amp; 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.

                              Comment

                              Working...
                              X