Problem with several occurence of same ToolTip

For a test form, I am using Dreamweaver CS4 Spry Tooltip Widgets. In this form, I need to have several occurence of a same Tooltip. All works fine. But there is a problem with the W3C validator, which returns the error: id "sprytrigger2" already defined. Any help to help me on that
problem is welcome. Many thanks.
Part of the HTML code (below)
<img src="button.gif" ... id="sprytrigger1">
<img src="button.gif" ... id="sprytrigger2">
<img src="button.gif" ... id="sprytrigger2">
<div class="tooltipContent" id="sprytooltip1">--- GOOD---</div>
<div class="tooltipContent" id="sprytooltip2">--- You are Wrong ---</div>
<script type="text/javascript">
<!--
var sprytooltip1 = new Spry.Widget.Tooltip("sprytooltip1", "#sprytrigger1");
var sprytooltip2 = new Spry.Widget.Tooltip("sprytooltip2", "#sprytrigger2");
//-->
</script>
W3C Validator Error code returned:
id "sprytrigger2" already defined
An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this
attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify
exactly one element).

If you are using true ToolTips, you have a different location for each on your page.
I would not personally worry about the additional variables adding much to your code.
But if you are concerned, and the messages are really all the same, you could do a show/hide and use an absolute positioning:
.ivorycrunch_pu
     position:absolute;
     border: #5b0085 2px solid;
     right: 50px;
     top: 50px;
     width:300px;
     height:300px;
     z-index:1000;
     visibility: hidden;
This particular one is set up to show a background image...a different one for each item (coded in a separate rule)...
<div class="ivorycrunch_pu">
     <h5><a onclick="MM_showHideLayers('ivorycrunch_pu','','hide')">close</a></h5>
</div>
But if you changed this to class="Okay" and altered the style to suit, remembering to make an item with an id of 'Okay' somewhere on your page, this should work, too. Play around with it. I did not customize this for your purpose. Note that I have a 'close' text link. You would put your text in this div, not necessarily as a link, but you would need a link to close it. I think you will need to add this as a behavior, so you get the appropriate javascript on your page.
I didn't work with this long enough to suit your uses, but you should be able to jimmie around with it to make it work. Because the position is set in relation to the div of the 'trigger' text, you might need to have each 'trigger' in its own div.
Personally, I would go the ToolTip route and let Dreamweaver do my positioning for me.
Beth
You might create one ToolTip and then set it up to use a class instead of an ID. Don't know if that would work. B

Similar Messages

  • Problem with severe connection fail and slow inter...

    Havin problem with several automatic disconnection, slow internet and cant get inside online bt repair centre coz its sayin - this no is not provided by bt business...
    ADSL Line Status
    Connection Information
    Line state: Connected
    Connection time: 2 days, 06:57:44
    Downstream: 1.122 Mbps
    Upstream: 80 Kbps
    ADSL Settings
    VPI/VCI: 0/38
    Type: PPPoA
    Modulation: G.992.5 Annex A
    Latency type: Interleaved
    Noise margin (Down/Up): 4.0 dB / 7.2 dB
    Line attenuation (Down/Up): 65.0 dB / 34.6 dB
    Output power (Down/Up): 19.1 dBm / 10.0 dBm
    FEC Events (Down/Up): 9019906 / 503
    CRC Events (Down/Up): 656 / 131
    Loss of Framing (Local/Remote): 0 / 0
    Loss of Signal (Local/Remote): 0 / 0
    Loss of Power (Local/Remote): 0 / 0
    HEC Events (Down/Up): 5492 / 23
    Error Seconds (Local/Remote): 62 / 33

    as you are a business user you need to post on the business forum https://business.forums.bt.com/
    this forum is for residential customer
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Photo Elements 12, Mac OS X 10.9.5, Trying to combine two images side by side, same height.  Get this message: "Panorama could not be created as some images could not be automatically aligned". Tried with several different images, same height each combo

    Photo Elements 12, Mac OS X 10.9.5, Trying to combine two images side by side, same height.  Get this message: "Panorama could not be created as some images could not be automatically aligned". Tried with several different images, same height each combo

    One does not "see" the images when selecting;  You just select two file names, click OK, PhotoShop does the rest, and comes back with same message.

  • Hi, I have a macbook air os x 10.9.5 and I have problems with the app store. It doesn't open anyway. so, how can I install it again or update. I have problems with preview too, the same, doesn't open the application

    Hi, I have a macbook air os x 10.9.5 and I have problems with the app store. It doesn't open anyway. so, how can I install it again or update. I have problems with preview too, the same, doesn't open the application

    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Reinstalling OS X Without Erasing the Drive
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility and press the Continue button. After Disk Utility loads select the Macintosh HD entry from the the left side list.  Click on the First Aid tab, then click on the Repair Disk button. If Disk Utility reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit Disk Utility and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Alternatively, see:
    Reinstall OS X Without Erasing the Drive
    Choose the version you have installed now:
    OS X Yosemite- Reinstall OS X
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • Urgent - problem with multiple users on same page

    Hi all,
    I have got an big problem with my app:
    when several users are using the same page, the action launched by USER_A affects the page displayed and used for USER_B.
    If there is only one user using the page, there is no problem at all.
    The webapp is deployed on Tomcat or JBoss and the problem remains the same on both.
    Thank you for your help.
    PS: I am not accurate because I don't know what to paste here.

    In fact, all my page beans are in REQUEST scope...
    The only bean in Application scope is the standard applicationBean created by Creator itself.
    We use one Bean in session scope which contains another class.
    I will try to explain our common process:
    - when logging into the app, the session Bean stores user data (rights for using app,...);
    - when navigating in the app, the user can search data, modify them and create one (if he has the right to do it);
    - to define the screen, we use a lot the beforeRenderResponse();
    - when viewing a data, the user can choose to modify it, so depending on the action, the page is in "CONSULT" mode or "MODIFY" mode. In the second one, he can display new gridPanel (as a subform) to populate datatable.
    The problem is obvious while using this grid: my grid can disappear if someone else has validated his form before me and if my page goes trough the beforeRender of my page.
    It is not really clear. If needed, i can give access to our application to show the problem (and msn adress too to talk about it).
    Thank you

  • Using Firefox 7. Can log on and run problem for a while, then get message "Not connected. Trying to re-connect" But it never succeeds in re-connecting. If I exit Firefox and re-launch, it cures the problem. Get this problem with several different PCs

    Chrome works fine. Haven't got desperate enough to try IE.
    Friend reports similar problem with her system, which is not connected to mine.

    * Try this.
    * Type in the address bar about:config.
    * Accept the warning.
    * In the page that appears, in the Filter box, type network.http.max-connections.
    * Change the value to 32 (which is probably set to 256 in your case).
    * Close the about:config page.
    * Restart the browser.

  • Graphics Problems with several games!!!

    When I turn antialiasing on and run Unreal 2 and Raiven Shield, I can see some "corrupted pixels" or something like that on my screen!!!Can someone HELP  me?
    Win XP Pro/SP1 (all latest updates)
    Athlon XP 1800+
    Chaintech 7NJL1(N-Force 2)(Latest Drivers)
    GForce 4 Ti 4200 (Not overclocked)(Nvidia Detonators 43.45)(DX 9.0)
    2 x 256 DDR 266 MHz
    WD 40 GB 8 MB Cache
    Power Supply 350 W
    Teac CD-W548E
    ASUS DVD-ROM E616
    Creative SB Live 1024(Latest Drivers)
     

    As I see you use det.XP drivers 43.45. I have read many topics on different boards people having rendering problems with this drivers in games.
    When I have upgraded to 43.45 I have experienced 10% performance drop in 3DMark2001SE and also some problems in Line of sight - Vietnam.
    Your problem could be in this drivers. Get 41.09 - for me, this is the best drivers released so for for NVIDA cards.
    My system:
    MSI K7T Turbo 6330 3.0 (VIA 4in1 hyperion 4.45)
    1.33 GHz Athlon
    512 MB RAM
    MSI G4 Ti4600 (detonatorXP 41.09)
    SB Audigy 2 (latest drivers 02/2003)
    80 GB Seagate
    19" Philips Briliance
    dual boot for WinMe / WinXP SP1
    DirectX 9

  • LV2011 problem with several front panels

    Hello,
                 There is a bug in my software and I don't know it is common to every one or not. This not to be worry, I will notify you anyway. When I open only one front panel and one block diagram which having a program to communicate with a serial device. In this case, if I choose the VISA resource name, it obviously takes some time to popup the USB and after it show the port and front panel will stay in front you until you choose the device. Here, every thing is fine but when I open several front panels and working on only with serial program front panel to choose the serial device in VISA resource name. Then after some time, it took me to another front panel. I have seen this problem several times in past two months. More, even when I am decorating the front panel and front panel took some time after pushing some controls and switched another front panel.
    Is this bug? Or I common for every one.
    Using labVIEW 2011.

    I am certainly using labVIEW from two months. So, I did not use MAX in my past time. I only used one time to check my USB 6008 device but this is off topic here. I will tell you down here.
    Suppose, If I open multiple VI's and I am only working with one VI that can communicate with my SERIAL device and the rest of the VI's(Block diagram and front panel) are rested. This case, if I click the drop downlist of "VISA resource name" of SERIAL VI, then it took some time(200ms or 100 ms, just it is a guess) to populate and it is switched to another front panel which were opened and rested before. Again, I need to come to my serial front panel again to select the COM port. This is one case.
    If don't have any other VI's not opened than this serial Vi. Then it stays on the same front panel.
    Is this bug came with labVIEW or  is it common?

  • Ethernet Problem with Multiple users on same Mac

    Hi, sorry i advance for my english. I am writing from italy.
    I have an imAc with 2 users profiles on it. one profile is administratoe, and the oter a standard user.
    I also have a time capsule configured to connect to my network with the ethernet cable. the cable is plugged in the wan pot, the configuration is "bridged" and i use as a router a linksys wifi router.
    well. suppsung that i am logging in with one of my users and access to time capsule wirelessly, it shows me the disk content.
    i then swith to the other user without logging off the first one and then access time capsule where i see the same folfder and i can access it. so everything works fine.
    in the case i connect my mac with ethernet (disabling airort) to my linksys router, ifuser 1mounts time capsule, user 2 can't access it if user 1 does not unmount.
    why so?
    i need to switch from user 1 to user 2 without logging off, and i don't understand why it works wirless and not with ethernet..
    thak you
    paolo

    In fact, all my page beans are in REQUEST scope...
    The only bean in Application scope is the standard applicationBean created by Creator itself.
    We use one Bean in session scope which contains another class.
    I will try to explain our common process:
    - when logging into the app, the session Bean stores user data (rights for using app,...);
    - when navigating in the app, the user can search data, modify them and create one (if he has the right to do it);
    - to define the screen, we use a lot the beforeRenderResponse();
    - when viewing a data, the user can choose to modify it, so depending on the action, the page is in "CONSULT" mode or "MODIFY" mode. In the second one, he can display new gridPanel (as a subform) to populate datatable.
    The problem is obvious while using this grid: my grid can disappear if someone else has validated his form before me and if my page goes trough the beforeRender of my page.
    It is not really clear. If needed, i can give access to our application to show the problem (and msn adress too to talk about it).
    Thank you

  • Problem with multiple instances of same module

    I want to call the same module in several different
    viewstates. Based on a variable for each viewstate the module
    returns different results. Here is a shortened version of my code:
    private var lm:linkModule;
    private function moduleHandler(promotion:String):void
    lm = linkModule(lm1.child);
    lm.initHandler(promotion);
    <mx:ViewStack id="estonishViewStack" width="100%"
    height="100%">
    <mx:Canvas x="0" y="0" width="100%" height="100%"
    id="saleView" label="Sales">
    <mx:ModuleLoader id="lm1" url="modules/linkModule.swf"
    ready="moduleHandler('sale');" />
    </mx:Canvas>
    <mx:Canvas x="0" y="0" width="100%" height="100%"
    id="seasonalView" label="Seasonal">
    <mx:ModuleLoader id="lm1" url="modules/linkModule.swf"
    ready="moduleHandler('seasonal');" />
    </mx:Canvas>
    </mx:ViewStack>
    Is there a more elegant (shorter) way to code the
    actionscript function other than a number of "if" statements based
    upon the variable or module id?

    Thanks for the comment. I purposely used the same id in the
    example. I need to call the same module in about 10 different
    viewstates. I was wondering is there a way around 10 different "if"
    statements in my moduleHandler function with lm1.child, lm2.child,
    etc.
    Possibly some way to write the function with lm(i).child?
    Then I give each component a different component name.

  • Problems with triple so iin same disk

    hi, I want any suggestions to solve my problem.
    I want to install 2 arch linux in the same disk that i hace windows xp.
    my partition scheme is:
    sda1   20gb   ntfs    winxp
    sda5   120gb  ntfs    files and music
    sda5    128mb ext3   boot
    sda6    4gb    / (32bits arch)
    sda7    2gb    /var (32bits arch)
    sda8    512mb swap
    sda9    remain space home
    sda10  /  (64bits arch)
    sda11 /var (64bits arch)
    The problem are the next.
    I installed wxp with no problem, next i installed arch 32 bits with grub
    the problem is when i want to install arch x64, y set the mounpoints, set done, select the packages, install them and there i  think is the problem.... the sistem told me that the packages are succesfully installed but its done too fast. then when i go to the next step to configure my system, all the files are clean.
    when i installed the sistem in the other way, first 64 bits and next 32 bits one, the 64 bits version works great, bit 32 bits one do the same.
    any suggestion???
    sory for my english.... i dont write very...
    thanks

    bellucci83 wrote:
    Ill try the 35 times delete disk option
    Please no.. just once is enough.
    Zero out data.. if that doesn't work then 35 passes which will take about a month btw.. will not work either.
    That is single pass.. And I wish they called it 1-Pass to be clear.
    It will normally take around 24 hours.. a single pass will either fix it or throw up more errors.
    I have another trip do the US scheduled to September, do you think Bestbuy can give my money back if I return the time capsule?
    Sorry I am not in the US.. they are not required to give money back after 2weeks.. but they are required to replace it under warranty. A particular retailer may have their own policy.

  • Problems with several statements in one servlet

    Hi!
    I use the jdbc:odbc bridge driver, and an Access database. I'm making a webshop, and everything is working except for one thing: I can't insert several OrderItems at the same time.
    I have a basket structure, where I have several OrderItem objects. In these objects, I have product_id, price, quantity etc in each object.
    My database have to related tables, Order and OrderItem. I first insert a new order into the Order table. That works. Then I try to read the Order table to find the highest Order ID, which will then be used when I insert data into the OrderItem table.
    The problem is that if I add any more statements to the same servlet, I get a Invalid Cursor type error.
    This is the code that works:
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = DriverManager.getConnection("jdbc:odbc:Network");
    Statement stmt = conn.createStatement();
    java.util.Date date = new java.util.Date();
    java.sql.Date sqlDate = new java.sql.Date(date.getTime());
    String strDate =String.valueOf(sqlDate);
    stmt.executeUpdate("INSERT INTO Order2(CustID, Ordertime) VALUES("+id+", '"+strDate+"');");
    stmt.close();
    conn.close();
    }catch (Exception e){
         out.println("Error: " + e);
    This is the code that doesn't work:
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = DriverManager.getConnection("jdbc:odbc:Network");
    Statement stmt = conn.createStatement();
    java.util.Date date = new java.util.Date();
    java.sql.Date sqlDate = new java.sql.Date(date.getTime());
    String strDate =String.valueOf(sqlDate);
    stmt.executeUpdate("INSERT INTO Order2(CustID, Ordertime) VALUES("+id+", '"+strDate+"');");
    Statement stmt2 = conn.createStatement();
    ResultSet rs = stmt2.executeQuery("SELECT Max(OrdID) as max FROM Order2");
    //this will be used to insert the OrderItems
    int MaxOrderID = rs.getInt("max");
    rs.close();
    stmt2.close();
    stmt.close();
    conn.close();
    }catch (Exception e){
    out.println("Error: " + e);
    This is the error I get:
    Error: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
    I've tried using the same statement, using another connection, closing the first statement before I create a new one etc. But nothing works.
    Any suggestions?
    Any help appreciated!
    Vidar

    Error: java.sql.SQLException: [Microsoft][ODBC Driver
    Manager] Invalid cursor state
    I've tried using the same statement, using another
    connection, closing the first statement before I
    create a new one etc. But nothing works.I could imagine that this is the same again like here:
    http://forum.java.sun.com/thread.jsp?forum=48&thread=147704
    Simply try after your INSERT a dummy query like
    "SELECT 1 FROM <yourtable>"
    I'd be interested if it helps.

  • One-to-many relationship: problem with several tables on the one side...

    Hello
    I'm having problems developing a database for a content management system. Apart from details, I've got one main table, that holds the tree structure of the content ("resources") and several other tables that contain data of a particular datatype ("documents", "images", etc.). Now, there's one-to-many relationship between "resources" table and all the datatype tables - that is, in the "resources" table there's "resource_id" column, being a foreign key referenced to the "id" columns in the datatype tables.
    The problem is that this design is deficient. I can't tell form the "resource_id" column from which datatype table to get the data. It seems to me that one-to-many relationship only works with two tables. If the data on the one side of the relationship is contained in several tables, problems arise.
    Anybody knows a solution? I would be obliged.
    Regards
    Havocado

    Hi;
    A simple way may be create a view on referenced tables:
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL>
    SQL> drop table resources;
    Table dropped
    SQL> create table resources(id number, name varchar2(12));
    Table created
    SQL> insert into resources values(1,'Doc....');
    1 row inserted
    SQL> insert into resources values(2,'Img....');
    1 row inserted
    SQL> drop table documents;
    Table dropped
    SQL> create table documents(id number, resource_id number,type varchar2(12));
    Table created
    SQL> insert into documents values(1,1,'txt');
    1 row inserted
    SQL> drop table images;
    Table dropped
    SQL> create table images(id number, resource_id number,path varchar2(24));
    Table created
    SQL> insert into images values(1,2,'/data01/images/img01.jpg');
    1 row inserted
    SQL> create or replace view vw_resource_ref as
      2    select id, resource_id, type, null as path from documents
      3      union
      4     select id, resource_id, null as type, path from images;
    View created
    SQL> select * from resources r inner join vw_resource_ref rv on r.id = rv.resource_id;
            ID NAME                 ID RESOURCE_ID TYPE         PATH
             1 Doc....               1           1 txt         
             2 Img....               1           2              /data01/images/img01.jpg
    SQL> Regards....

  • Having Various Problems With Several Sites ("sort by" for ex)

    Note: these problems started recently without changing anything in FFox.
    Examples:
    HomeDepot.com: "sort by" feature stopped working. Also cannot change number of listing per page.
    USPS.com: could not print shipping label. Instead of a PDF label popping up, I was prompted to save as or open with "com.usps.cns.web.pdf.labelgeneration servlet". USPS told me to remove everything after ".pdf"
    Another site (can't remember which): after filling out a form, pressing "submit" did nothing.
    So I:
    Turned off Adblock extension
    Disabled NoScript extension
    Updated JAVA to the latest version
    Tested w/ Opera, same problem
    Tested w/ IE, worked but now my hands feel dirty!

    Restart FireFox in safemode which disables all addons/extensions so you can enable one by one until it reoccurs allowing you to isolate the problem.
    [[How to start Firefox in Safe Mode]]
    [[Safe Mode]]

  • Problems with multiple devices using same apple ID

    I have a Macbook, iPad and iPhone. After doing an IOS update now my devices keep saying I cannot use that same appleid because it's already taken. I cannot find away around this and want to know experience of others

    That warning occurs only if you try to create a new Apple ID using an email address already in use. An existing Apple ID can be used with mutiple devices. 
    What exactly did you do when you got that message?

Maybe you are looking for

  • Copy contents of a txt file into a transport request

    I am implementing the steps of the 990534 note. The note says "Create a new transport request (transaction SE09) in the source client of your Solution Manager system. Unpack file SOLMAN40_MOPZ_TTYP_SLMO_000.zip, which is attached to this note. Copy t

  • Restoring doesn't finish

    Hi, I'm experiencing some problems with restoring my iphone4. It's not jailbroken, and all the updates were done through itunes. As I conect the iphone to itunes, it shows a message saying there's and iphone who needs to be restored. As I begin the r

  • Slideshow elements are triggering next page in menu going nuts any ideas anyone

    slideshow heavy site is driving me nuts. Every element in slide show is triggering next page in top menu. Don't know what to do, deadline looming. any thoughts

  • Batch processing prompting user each time

    Hi, we have a batch job that adds a watermark and then adds a footer. The watermark and footer are defined in the sequence via the Edit option in the "Select commands..." window. Run common on: select folder Select output location: specific folder. W

  • Associate WebDynpro application to Resource type

    Hi experts, I have created a WebDynpro application to create/edit XML documents, which are stored in portal KM folders. These documents have a custom Resource Type. I didn't use XML Form because it had too many limitations (static forms, only single-