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

Similar Messages

  • Needed help in: how to import image in InDesign Server using Java Code

    New to InDesign Server.
    I am not been able to import image to document.
    I tried to import image using the sample snippets "PlaceTextFileInFrame.java".
    modified the line:
    String placefilepath = "C:\\placeFile.txt";
    to
    String placefilepath = "C:\\Image.jpg";
    myTextFrame.place(placefilepath);
    Is this the correct way to import image or there is another solution.
    1.The image gets imported but i am getting blur image(Zoomed image).
    2.The image gets imported to its original image width & height.
    3.I need to know how to set the image width & size.

    My Requirement is-- I ve to connect to msn search page in order retrieve the result set from msn search. The same code which I do pasted below is working for GOOGLE n YAHOO with minor changes.But not for MSN.., Can any one help me.
    I've pasted the code for msn..,
    import java.io.*;
    import java.net.*;
    public class File {
    public static void main(String[] args) throws IOException {
    Socket s = new Socket("search.live.com", 80);
    String query = "java";
    PrintStream p = new PrintStream(s.getOutputStream());
    p.print("GET /results.aspx?q=" + query);
    p.print("User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0\r\n");
    p.print("Connection: close\r\n\r\n");
    InputStreamReader in = new InputStreamReader(s.getInputStream());
    BufferedReader buffer = new BufferedReader(in);
    String line;
    while ((line = buffer.readLine()) != null) {
    System.out.println(line);
    Edited by: Lijo_Java on Jul 13, 2008 9:03 PM

  • 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).

  • HELP!!! i need help on how to update the core applications and system software.

    can anyone help me update my software for a blackberry curve 9300. i need to updat the core applications and the system software but i dont know how to do so. do i do it by my desktop or device

    Hi and Welcome to the Community!
    The simplest way is this:
    KB16068 How to update the BlackBerry Device Software through the web
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need help!: How to covert Excel into BLOB and pass into procedure?

    Hi,
    I am writing a program in which I am uploading file from front-end and passing that file into Oracle procedure in BLOB format.
    Can someone help me ,that **how to convert Excel sheet into BLOB and then how we can pass that BLOB object to procedure in oracle*.
    Any help will greatly appreciated.
    Thanks

    Guys,
    I am able to convert FormFile into byutes using getFileData();
    But when I am tryint oconvert into BLOB,it is dhoowing me the error.
    Please find the complete details below.
    I am trying to Upload one file using FormFile of Struts and I need to pass that Form File into one procedure having BLOB as aIn parameter. SO I need to convert that file into BLOB object
    The code that I am trying is :
    try{
    BLOB blob= BLOB.getEmptyBLOB();
    System.out.println("before");
    blob.setBytes(theFile.getFileData());
    System.out.println("after");
    cs.setBlob(3, blob);
    }catch(Exception e){System.out.println("in the BLOB "+e);}
    After running the code,I am getting the following error
    java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at oracle.jdbc.driver.DatumBinder.bind(OraclePreparedStatement.java:15839)
    at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2865)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2150)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3279)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3389)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4222)
    at dms.bo.impl.LoadManagement.UploadMetadataDAOImpl$1.doInCallableStatement(UploadMetadataDAOImpl.java:38)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:953)
    at dms.bo.impl.LoadManagement.UploadMetadataDAOImpl.getBlobString(UploadMetadataDAOImpl.java:28)
    at dms.web.action.LoadManagement.UploadMetadataAction.perform(UploadMetadataAction.java:33)
    at dms.web.action.common.BaseAction.execute(BaseAction.java:17)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:619
    So with

  • Need Help on How to Change The Encryption Key and or Change security settings

    Hello, i just installed the wireless router and i would like to know how i can change the encryption key or change the security settings (i want it so you do not have to answer it with a password). Thank you in advance.
    Message Edited by DARK_MARIO on 01-06-200706:10 PM

    Hi…
    In order to change the wireless settings of your router you need to login into the router configuration page. Open your internet explorer browser…in the address bar type http://192.168.1.1 ( Default IP address). Leave the username field balnk……type admin as password (If you have not changed the router password). When the setup page loads fully…..click on the tab that says wireless. Just below the main tab wireless ….click on the sub tab that says wireless security. You can Change the wireless security settings here. After the changes are made click on save settings.

  • Need help!-----How to get pixel from pixel location??

    Hi, I have the location of a pixel (x, y), how to get the pixel value which will be used in DirectColorModel cm.getRGB(int pixel)?
    thanks a lot!!!

    Hi, my image is created by Toolkit.createImage(byte[]). I think I should use PixelGrabber to grab all pixels value to int[], use location(x,y) to get pixel index(y*width+x), then use ColorModel.getRGB(int pixelIndex) to get the rgb value at that location, right? is there any other way to do it?
    thank you.

  • Need help with the hover over images from small to bigger

    I read the tutorial about the hover over the small image shows a bigger image. I thought I would try it own my own but it did not work, do I need to make a link to the CSS file or do I need to do something different. Please help

    Here is the tutorial link:
    http://www.dreamweaverclub.com/dreamweaver-show-larger-image.php
    This is a pure CSS Image Swap without the need for JavaScript behaviors.
    It places the thumbnail image on a page with a "nolink" link or anchor so the  CSS hover rule can invoke the appearance of the larger  image inside  an absolutely positioned division (APDiv) layer.
    Paste the CSS code into the top of your page between the <head> and </head> tags.
    <style type="text/css">
    /**image to large**/
    #picture {width:100px; height: 250px; background-color:#ffffff;}
    #picture a.small, #picture a.small:visited { display:block; width:100px; height:100px; text-decoration:none; background:#ffffff; top:0; left:0; border:0;}
    #picture a img {border:0;}
    #picture a.small:hover {text-decoration:none; background-color:#000000; color:#000000;}
    #picture a .large {display:block; position:absolute; width:0; height:0; border:0; top:0; left:0;}
    #picture a.small:hover .large {display:block; position:absolute; top: 90px; left:150px; width:200px; height:200px; }
    </style>
    Paste the HTML code between the <body> and </body> tags:
    <div id="picture">
    <a class="small" href="#nogo" title="small image"><img src="small-image.jpg" width="125" height="83" title="small image" />
    <img class="large" src="large-image.jpg" title="large image" /></a>
    </div> <!--end picture-->
    Change small-image.jpg and large-image.jpg to your own.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • 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

  • 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.

  • 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"

  • HT201269 hi i need help, i just go a new iPhone 5 and i want to put all my backed up stuff on, but it doesn't show on the list, how do i get all my stuff back and yes i did backup the old phone

    hi i need help, i just go a new iPhone 5 and i want to put all my backed up stuff on, but it doesn't show on the list, how do i get all my stuff back and yes i did backup the old phone

    Follow the explicit instructions in the article from which the thread was started and restore the device from the backup of the previous device.

  • 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

Maybe you are looking for

  • Hyperlink on field in Basic list of ABAP Query

    Dear All, Could somebody tell me, if its possible to have a hyperlink on a field in the Basic list of ABAP Query (SQ01,SQ02). Example :- There is a basic list which has the field MARA-MATNR displayed.There should be a hyperlink on this field, such th

  • Still frame capture script?

    OK, I know that this is probably not something that everyone is just yearning for, but I can see it as helpful. So hear me out. I have a ton of footage (DVCProHD) and I would like to capture a still frame (just the first frame will work) of each clip

  • Blank line in Application server file

    Hi, I am uploading datas from 2 internal tables to Application server file(same file). I want a blank like after i finish uploading the first internal table. Need a blank line between two internal table datas. Kindly help me in solving this issue. Re

  • OA Query Region: How to remove "like" clause in background query

    I have an <oa:query/> region that has an id field as a parameter. The problem is if I enter "534" it will run a query with a where clause of "COLUMN like '534%' ", which is not what I want. I want it to search for an exact match and not a partial mat

  • Weblogic 10.3 - Windows 2003 64bit OS

    I cannot find the download .exe for the 64bit version of Weblogic Server 10.3 and Portal. Is there a seperate download or do I install the 32bit version on the server? I called the 800 number but was transferred and then dropped - twice!! Any help is