Need Help on how to center Pop Ups

Here's what I'm trying to do - I have thumbnails on my site
and when you click on them I want a larger image to show up in a
pop up. I've accomplished this by:
1. Clicking on the thumb and adding "javascript:;" as the
link
2. Clicking on <a> so I can add a behavior
3. Adding the behavior "on click, open browser" and adding
the larger photo.
Here's the test site - click on the photo in the center of
the page with the gal sipping on a glass of wine:
http://localwally.com/napatest
Here's the code: <a href="javascript:;"
onclick="MM_openBrWindow('reynoldsfamily_1000.jpg','','width=1000,height=700')"><img
src="Renolds_400.jpg" name="Image1" width="400" height="300"
border="0" id="Image1" />
(note: if you look at the code source on the test site you
might see some goofy stuff and this is where I experiment on code,
but the code I pasted is exactly what is on every photo behavior
and they all do the same thing)
It works - but now I want to finetune it. On IE the pop up
window does not fill the screen and you have to drag it up to see
the entire larger photo. On Firefox, the entire image shows up but
it's right justified. What I want is for the photo to just be
centered on the screen. Any suggestions?

Hi,
There are different ways to center content. However, for a
full Flash website, my predilection is a few CSS lines with
SWFObject.
Look at the source code of my site :
http://www.cyboide.com
and copy the CSS style there.
Also note that the width and height parameters of SWFObject
is set to 100%.
That's one way, which will center the flash website in both
axes (and this one will let show what is outside your .fla stage
dimensions, so you can make special full-window background).

Similar Messages

  • I need to know how to allow pop ups from a specific site.

    I need to allow pop ups from a website for schooling purposes. I need to know what I have to do to allow these pop ups please. Thank you for your time.

    Add an exception to '''Allow''' that website. <br />
    https://support.mozilla.com/en-US/kb/Pop-up%20blocker#w_pop-up-blocker-settings

  • Hi I need help on how to center images from hotspot and linked jpeg

    Can anyone help !!
    I have created a hotspot's over images in dreamweaver that link to an Jpegs to open and view in a new windows "that bit is fine"
    When the images are clicked on they open in new windows, however the images is positioned to the top left of the windows and i would like them to be centered but I can not figure out how to do this.
    Here is the code for the images in question, the main image is the openroadoffers which has 3 hotspot's placed on it (these 3 hotspot "referral voucher, xmasvoucher & newdriver voucher" link to jpeg images to be view in new window, these are the images i would like to be centered when the new window opens.
    <div id="header-pic"><img src="images/openroadoffers.jpg" alt="" width="820" height="254" usemap="#Map" />
      <map name="Map" id="Map">
        <area shape="rect" coords="56,39,232,228" href="images/referalvoucher.jpg" target="_parent" alt="Referal Voucher" />
        <area shape="rect" coords="289,26,494,238" href="images/xmasvoucher.jpg" target="_parent" alt="Xmas Voucher" />
        <area shape="rect" coords="572,6,775,224" href="images/newdrivervoucher.jpg" target="_parent" alt="new drivers offer" />
      </map>
    Any help on this would be fantastic
    Thank
    Andy

    Hello Andy,
    you are welcome. What concerns the difference between html and php you could use Google to get more informations about. Here a link to some websites I have in my notebook  (you can translate the German wiki with Google too):
    http://stackoverflow.com/questions/6776832/what-is-the-difference-between-php-and-html-fil e-extensions
    http://de.wikipedia.org/wiki/HTML
    http://de.wikipedia.org/wiki/PHP
    Good luck!
    Hans-Günter

  • I need help! How can i spend my $0.46 cent? Can I delete it? Because I want to change to my country yet I cannot due to remaining dollar balance..

    I need help! How can i spend my $0.46 cent? Can I delete it? Because I want to change to my country yet I cannot due to remaining dollar balance..

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Today Game Center appeared when I was playing scrabble.I cannot disable or get out of the prompt page therefor I cannot play scrabble. How do I permanently remove Game Center pop ups?

    How do I remove Game Center pop ups?

    The sound is turned off. Only, some Apple apps like YouTube and Siri make sound when the sound is turned off. It is very embarrassing when this happens at work. My question was how do I tell Apple to fix this?
    Turning off game center does not work. The games just prompt me to sign in when they are started.I have tried everything I can find online to stop this behavior. It is annoying and should not happen. My question was how do I tell Apple to fix this?
    The alarm went off. There was a green thing that looked like a button but pressing it did nothing. There was a red button that said snooze. I did not want to snooze. I wanted to turn the alarm off. I slid the bar to unlock the phone and there were no running apps with a button to press. The alarm just keep running. I have not had this problem since it first occurred. The alarm now shuts off when I just unlock the phone. It may have happened because I had another alarm app running. The two may have interfered with each other. I would like to tell Apple about it.
    It also annoys me that the button that closes apps leaves the phone app running. If I press on a number at 6:00 AM to get information about who called me, the phone automatically dials the person back and my natural reaction is to press on the button to close the phone app but the phone keeps dialing this person at 6:00 AM. It is a bad design. I would like to tell Apple about it.
    Finally, I looked all over Apple's site to try to find someplace I could send them a polite message to let them know that I was not happy with these "features" but could not find anything. It is extremely frustrating to have issues with a product and not being able to tell the manufacturer about it. So, you grow up!.
    When trying to fix the Game Center issue, I saw a link someone posted to report issues with the IPad to Apple. The answer I am looking for is where is the link to report issues with the IPhone.

  • I need help understanding how the Apple components integrate to create a system across all my devices?

    I need help understanding how the Apple components connect to create a whole system across all my devices?
    Is there a resource that describes current system and associated functionality?
    For example:
    Buy A, B, C to achieve "X" 
    You will need:
    an internet provider which supports <specs>
    add D to achieve "Y"
    You will need:
    an internet provider which supports <specs>
    add "E" to achieve "Z"
    You will need:
    an internet provider which supports <specs>
    For example, I am looking at the Gen 6 Airport extreme.  For intended performance do I need broadband? if so what are the specs, or will basic internet service suffice?  Do I need the internet provider's modem or does the Airport extreme replace that?  And then I think, if I am doing this, I should also look at Apple TV....What do I need and Why?  Then I look at the New Desk top coming out in the fall, and I think well, if I wait and get this, what does this component do for the system, and what becomes redundant? What does this awesome desktop do for my ability to sit and use a new macbook air when I travel  or sit on the couch in my PJs?
    If there was a place that plainly stated "if you buy the new dektop you can configure a system including only these components and achieve <this result> and by adding <additional components> you will achieve this result.
    I have been to the genius store a few times, but I come out of there more confused unless I have SPECIFIC questions or already know what to buy. 
    A "System Configuration App" would be a really great sales tool--Just saying.

    I have no idea what "fully optimized" means.
    No Apple device will let you watch broadcast TV. The Apple TV is a good option for watching streaming TV from iTunes, NetFlix and Hulu. If you want to watch from other sources, you may need to look at other devices.
    Any Mac computer or iPad will allow you to surf the web.
    What business software?
    Time Capsule is a good option for back ups.
    Update what across all devices?
    For accessing documents from all devices, a service like Dropbox is your best bet.
    I have no idea what "step as far away from an internet provider as possible" means. If you want Internet access, you need an Internet provider.
    Lighting fast speed for what? Processor? The specs are listed for all devices in the Online Store. Internet? We're back to the service provider.
    Technology changes. The only way to keep pace with it beyond a couple of years is to buy new stuff.
    The bottom line is you need to look at the specs for devices availble and at your budget and decide what best meets your needs. If you are unable to do that on your own, there are lot of technology consultants out there who will, for a fee, look at your exact situation, make recommendations and even handle the purchase and set up. Perhaps that would be the best route for you.
    Best of luck.

  • How to allow pop-ups in iPad Safari

    How to allow pop-ups in iPad Safari?

    Do you have an Exchange (e.g. a work) email account set up on the iPad ? If you do then it's possible that the account profile is preventing you turning popups 'on', in which case you would need to contact the email account administrator

  • TS2755 Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help of how to set up messages on each

    Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks

    search google for "iphone remove picture from contact"

  • Need help with how to reset bios and admin password to reformat hard drive in 8440p elitebook.......

    need help with how to reset bios and admin password to reformat hard drive in 8440p elitebook? removal of cmos, resetting laptop, using cccleaner, windows password recovery and hiren's was noneffective, any help is appreciated. thanks

    Hi,
    As your notebook is a business class machine, security is more stringent - the password is stored in non-volatile memory and there are no 'backdoor' passwords.  Your best option would be to contact HP regarding this.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?

    I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?

    Check this thread where people have already given their suggestion on learning SSIS
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f2cc1cf3-204d-454a-a189-47df87a3aa23/i-want-to-learn-ssis?forum=sqlintegrationservices
    I would suggest to go for You tube videos (type learn SSIS or begin SSIS step by step) you will get lot of good tutorials to start with.
    Happy Learning!!
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • Please i need help to how to recover my camera roll photos i deleted them yersterday by accident im need with the ipod and i took the pictures with ipod but i want to know how to recover my photos in a easy fast FREE way as soon as porssible pleasse???

    please i need  help to how to recorver my cameral roll photos from my ipod in a easy FREE way as soon as possible

    Restore from backup if they are in a backup. Otherweise I know of no free way. These are paid and no one has said that they worked.
    iPhone Recovery Stick - recover deleted text messages & more
    Recover files from iPod Touch | Restore data iPod | iPod touch undelete, unformat

  • Need help on how to handle zip & text/csv as a resposne payload from Concur RestWebservice

    Hi All,
    We are getting zip(if there are multiple files) and test/csv(single file) as a response payload from the concur rest API and need your help on how to handle in NWBPM and SAP PO.
    Zip response coming in response looks like below -
    PKÀ˜F7extract_attendee_detail_p0600908soav_20150424022159.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKÀ˜F2extract_CES_SAE_v3_p0600908soav_20150424022148.txts� rt©1204Õ50Ñ52©1¨©1ãåPKå늟PKÀ˜Fzà
    Text/csv response looks like below -
    Extract|2015-24-40|20|0
    Need you help on how to handle the zip content response.
    Also need help on how to handle when text/csv response comes and when zip response comes.
    As per the scenario, there are 4 calls to be made and we are using NWBPM and in the last call the actual respons (text/csv or zip) will come.
    Please provide your inputs.
    Thanks
    Narayanareddy B

    Hi Aaron,
    Thanks for your reply.
    I tried with Payload zip bean and the java mapping as mentioned in the response mapping of OM.
    Payload zip bean - Zip  zip.mode  unzip
    I am getting the error below in the receiver rest channel -
    "Transmitting the message using connection JPR failed, due to: com.sap.aii.af.lib.mp.module.ModuleException: Zip: error occured during processing: java.util.zip.ZipException: invalid stored block lengths"
    Java Mapping - used the java mapping in the response of Operation mapping
    Here also i am seeing the same error in the channel log as it is synchronous step and the message got cancelled.
    "Transmitting the message using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtimeApplication mapping program com/equalize/xpi/esr/mapping/java/UnzipAndAttach throws a stream transformation exception: Exception: invalid stored block lengths"
    The below is the response i am seeing and is it proper zip response payload(any encryption) , kindly advise.
    PKâE�F:ws_extract_attendee_detail_p0600908soav_20150424083413.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKâE�F5ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtíTß��@~oÒÿ�÷Fº»ìV}ëòCÏz Qljß8ÜöL�`N�ùão8�Ò«�´M�Ü@�awvçûfgÇùâϤå#Ttï0Ø�B�²·olÇ�£[4Ï](L�]«�ÑbÀôÁÒc�0ÀÏdAªÙТ¨Ìû�Êv¡�b¤eJA%��=Þ7Í>PÚ=í2��7ò[�¼¡=q/°¶�*ø)
    K|<`BgÉÔºÜWs[§J�&Ñ:Ìá:´�ç«�RÐv�ÚÅAD'\�ÁtR²*DP3gî:B@JëhU�Ò'¬�ùQ\�È\D{·O×±JS\ï�-ò�¸�Þ²êó�{Å¡2®â,MmÉù XAzßüBn&®Sl-§�l¶A�×ú½³ÙFI®0¿©Ú¯¤�oT�iV²RÀJ��¼«`õ»�í Ûéwa#�àpY�««óq)U°JaøÁA�ûì>Ù³üHåÒe¾�7��Ð/§£u°Nzã÷ç4×·èãþ�¾}õ0ÙµYÄ�+J��eX\�E±ïsR%®yÜÕðsªáÚ$qÚÎÇ�Û$^%1¸AF*ý¶VÑêxÏZÏ¢U½T~Ñ®ØkW5ç×®õ¿w5¬zò:oN»�ô���íø÷úÛÙ=¬å�[ôÚ�þmczPKhÏ��i PKâE�Fzà@Æ:ws_extract_attendee_detail_p0600908soav_20150424083413.txtPKâE�FhÏ��i 5�ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtPKËö
    Thanks
    Narayanareddy B

  • All of my apps on my new ipad2 are not working. I had this iPad about 4 months and nothing bad has happened before this. I need help on how to make my apps stop crashing. All my built in apps are fine though.

    All of my apps on my new ipad2 are not working. I had this iPad about 4 months and nothing bad has happened before this. I need help on how to make my apps stop crashing. All my built in apps are fine though. WHATBCAN I DO TO MAKE MY APPS STOP CRASHING. I ALREADY TURNED IT OFF THEN ON AGAIN AN IT STILL CRASHES. HELPPP!!!!

    Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider.

  • Hi, I need help on how to remove my credit card data on my friend's iPad?

    Hi, my friend borrowed my credit card to purchase smart office 2. I need help on how to change or remove my credit card details on her iPad. It turned out when I tried purchasing a game that i was again automatically charged. Thanks for helping me.

    Settings->iTunes and App Stores->Apple ID->View Apple ID->Payment Information, Set the Payment Type to "None".

  • How to block pop ups gone wild..???

    how to block pop ups on my macbook pro.?
    i been experiencing this since 1month now got tired of it!!!

    You likely installed adware.
    http://www.thesafemac.com/art/

Maybe you are looking for

  • Status of document after duplicate in sbo 2007

    Hi,everyone I meet a problem in sap business one 2007B. When I duplicated a purchase order ,I found its status is "Unapproved", instead of "Open". So are those marketing documents.  Because of it,I can't create a Goods Receipt PO according to that pu

  • Want to clone system

    I'm new to Macs and I got a MBP recently. In Windows, I would always make a ghost image of my C drive after I had set everything up correctly and save it to a different drive in case I needed to reinstall everything on the C drive because of serious

  • I've lost the capability to print pages (e.g., from Amazon) and after uninstalling and reinstalling Firefox, the problem persists.

    I had to go to Internet Explorer to print an invoice copy from Amazon.com. I've never had to NOT use Firefox before to do this. I lost some of the icons, apparently, and one was the one for print.

  • Can't install Photoshop CS3 on Mountain Lion 10.7.4

    I have uninstalled PS CS3 on one computer and tried to install it on a new computer with the same version of OS. Get the error message: Required resources are missing. I have an current version of java.

  • Steady State Solutions for Windows 7

    I am not really certain the term I used is right. If somebody gives me the right one, I will try to change title/text accordingly. Edit: Found what it is called, "Steady State" (that at least was the name of a Micrsofot Tool with this functionality).