Can I use CSS to target a table or a DIV

Ok, I am trying to use DW Layers so when I click on a
thumbnail, I can trigger the "SetTextofLayer". The reason i do this
is because I dont know of any other way to do it., but as you all
know, the positioning of DW layers is absolute. So is there a
simple way i can have an image trigger the change of text in a
table or div. How do I do that? I looked, but all Ive found was
tutorials on how to swap an image, not change text. Is there anyway
to trigger table data using an image? Any help would be greatly
appreciated
-psy

Look again at how I did it on my sample page. I removed ALL
positioning
from the div after applying the behavior (leaving it as a
position:static,
the default). It still works fine.
http://murraytestsite.com/stol-text2.html
shows a few tweaks I did -
1. Moved the onclick event to an <a> tag surrounding
the <img> tag so that
you get a proper cursor on the image.
2. Added a return false to the onclick event to avoid an IE
flake.
3. Added quotes to your STOL code.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"psypent81" <[email protected]> wrote in
message
news:[email protected]...
> Hi,
> Thanks again. Ive tried using the two methods A) Using
the SetTextofLayer
> -Which is nice, but it brings me to the whole absolute
vs relative
> positioning
> deal.
> Here's what I tried:
>
>
http://www.helenbwilson.com/SetTextofLayer-01
>
> It's great but it still stays in an absolute position
even though I
> changed the
>
> #imageLayer {
> position:relative;
> width:400px;
> height:400px;
> z-index:1;
> left: 290px;
> top: 94px;
> }
>
> I also tried to use the change of position to this page:
>
>
http://www.helenbwilson.com/helen-portfolio-1.html
>
> All it did was make my caption disappear completely!
> Actually, I tried both on that one page. If you click,
you dont get the
> caption anymore, whereas in
>
>
http://www.helenbwilson.com/helen-portfolio-2.html
>
> you get the captions, albeit in absolute position form..
> I just want this to be a quick patch, since I am now
beginning to see the
> light in terms of CSS positioning
>
> So what exactly am I doing wrong (Besides the obvious
answer of Do not use
> DW
> Layers, lol) .
> I really appreciate all the help. Thanks
>
> -psypent
>

Similar Messages

  • Can you install tiger on a power mac g4 with out a DVD drive if so how, I do have have a 2011 iMac can I use that in target disk mode with a FireWire cable any help would be appreciated

    Can you install tiger on a power mac g4 with out a DVD drive if so how, I do have have a 2011 iMac can I use that in target disk mode with a FireWire cable any help would be appreciated

    Hello,
    You need to put the Tiger Install Disc in the 2011 iMac, boot the 2011 uMac into Target mode...
    http://support.apple.com/kb/HT1661
    Boot the G4 holding the Option or alt key, hopefully the Install Disc in the 2011 iMac will show as a boot choice.
    We just want to use the 2011 iMac as a big expensive FW Optical drive, it cannot be installed osing the 2011 iMac itself.

  • [svn] 3148: You can now use CSS styles to set the default text format for TextView.

    Revision: 3148
    Author: [email protected]
    Date: 2008-09-08 15:01:15 -0700 (Mon, 08 Sep 2008)
    Log Message:
    You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.
    SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.
    Reviewer: Glenn
    Bugs: -
    QA: Lots of new stuff to test!
    Doc: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicEle ment.as

    Nevermind guys - I did it using the 'rb_on.selected' command on the "on" radio button if the .txt file variable was "on", else the "off" radio button is selected.
    Thanks for taking a look though!
    Shaun

  • Centering the layout using CSS as opposed to tables

    Hello all...I have spent about 4 hours with the trial version
    of Dreamweaver 8 and have solved all but one of the troubles I used
    to encounter when using GoLive.
    I followed the tutorial in DW8, first building their sample
    webpage using a table layout, then using a CSS layout.
    The table layout is easy to center, click the body tag, then
    select center justification in the Properties Inspector and the
    page is now centered in the browser.
    However...
    I can't get DW8 to do this when building the page with CSS
    layers. Should I enclose all of my layers within one main layer and
    apply the div align="center" tag?
    DW8 is an absolute BREEZE in comparison to GLCS2!!!
    Many thanks,
    Wordman

    A layer in DW speak is an absolutely positioned div.
    If you compare my #div code to what you have created - does
    yours have
    position: absolute defined in the style ?? That's a 'layer'.
    Have a read of this article by Murray:
    http://www.great-web-sights.com/g_positioning.asp
    and this:
    http://apptools.com/examples/pagelayout101.php
    You may find the css tutorials here to be beneficial:
    http://www.adobe.com/devnet/dreamweaver/css.html
    Look for the beginner tuts by Adrian Senior
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    CSS Tutorials for Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/css.html
    "Wordman-GL" <[email protected]> wrote in
    message
    news:[email protected]...
    > Murray...In reviewing the link Nadia provided (Thanks,
    Nadia!) I am
    > comparing
    > her code to the code I generated using 'layers' in the
    CSS version of the
    > DW
    > tutorial website. If I use the Layer command to create a
    layer in DW, I
    > get
    > styles in the head of the document beginning with #,
    just as your wrapper
    > code
    > does. These styles generate when using layers, and they
    look damn near
    > like the
    > styles created in Nadia's code. Are we arguing semantics
    calling a 'layer'
    > a
    > layer, or am I missing something huge here?
    >
    > I'm barely able to convey what I think is the right
    information, so
    > although I
    > am confused, I am nowhere near as confused as I was with
    GL.
    >
    > All I want to generate are a couple of websites heavy on
    photos and light
    > on
    > text...brochureware. As I'm also a photographer, I'll
    want to build a site
    > with
    > galleries of my work. I have read that CSS is the only
    way to go, and I'm
    > all
    > for it...
    >
    > So if I shouldn't use the layer command, are you
    suggesting just raw
    > coding
    > instead? If so, why even use DW or GL?
    >
    > I reallyneed help here. I feel as though I am swimming
    with boulders in my
    > pockets and am nowhere near recshing the shore before I
    drown...
    >
    > Cheers...
    >
    > Wordman
    >
    >

  • Can I use an array on a table in "IN"

    Can I use a table or an array in 'IN'?
    It doesnt work.
    create or replace
    TYPE "SPLIT_TBL2"
    as table of number(12,2);
    declare
      v_tab_num split_tbl2;
      v_num number;
    begin
      select * bulk collect into v_tab_num from table(tools.split('1,2,3,4', ','));    -- return a table like SPLIT_TBL2
      select 1 into v_num from dual where 1 in (v_tab_num);  -- it doesn't work
    end;

    Example:
    create or replace
    TYPE "SPLIT_TBL2"
    as table of number(12,2);
    declare
      v_tab_num split_tbl2 := split_tbl2(3);
      v_num number;
    begin
    --  select * bulk collect into v_tab_num from table(tools.split('1,2,3,4', ','));    -- return a table like SPLIT_TBL2 
      select 33 into v_num from dual where 3 in (select * from TABLE((v_tab_num)));  -- it doesn't work 
      dbms_output.put_line( v_num);--outputs 33
    end;

  • Can I Use The Products On The Tables At The Apple Store

    I Want An Apple Product But i dont know if i should get an ipod and iphone idk but i would like to know if i can use the products on the tables so i can choose the apple product i want and i need to know before this afternoon

    If they're sitting on the tables and not in boxes, they're display models and intended for people to play around with without buying them.
    (78249)

  • Can I use CSS, htmlTags and Alt tip for text with TLF?

    I want to know if it applicaple to use CSS style sheet to format TLF Text?
    is it Applicaple to use html tags instead of text with TLF?
    is it applicaple to add alt (tooltip when I over some words) with TLF?

    Thank you Robin for helpull answer, yes that what I meant by html, I will check the TextConverter Class.
    I asked about CSS because my Manager want to control the Format of the text inside Flash using The CSS.
    is there a way to format the TLF Markup, or what is the best suggestion instead of CSS?
    I didn't try before to add any new capapilities to the architecture, if I want  to start adding this what is the place to start from or any done example that demonstrate it.
    I am using Flash CS4 not Flash Builder nor Flex.
    thank you again for your helpful answer.

  • Can you use schema name in "INTO TABLE" in sqlldr?

    Hi All,
    I have a simple question.
    My Oracle userid is SBHAT.
    SBHAT has insert,delete, select,update privileges on a Table in another schema XYZ.
    I want to SQL*Load data in Table EMPLOYEE in XYZ schema, using my userid. Something like ....
    sqlldr userid=*SBHAT*/password control=test.ctl data=test.txt
    I tried to use the following in my test.ctl file but it does not work.
    load data
    append
    into table "XYZ.EMPLOYEE"
    fields terminated by ',' optionally enclosed by '"'
    trailing nullcols
    Can someone give me the proper syntax for into table that uses *schema.table_name* construct.
    Thanks,
    Suresh

    Pl post exact OS and database versions - what do you get when you execute sql*loader with the syntax you have identified so far ?
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/ldr_control_file.htm#i1005623
    HTH
    Srini

  • Can I use CSS with PS Web Gallery Preset?

    Using DW CS4. I wanted to create a web gallery with captions under the thumbnail images. I could not get captions to show up using the workspace output tool in Bridge, so I used the web gallery plug-in and preset in Photoshop. The doc title and description from the metadata shows up with each thumbnail and large photo, which is what I wanted. I added an Iframe to make the gallery show up in my web page layout with all the links I wanted, and I re-wrote part of the preset html to eliminate some of the extra preset gallery text at the top of the gallery pages. I am using a transitional doc type.
    It all worked out just fine and the pages are working as planned.
    However, when I used DW to validate the gallery pages, the report showed errors because the font attributes for the gallery pages are controlled by html and not by CSS. There are two problems cited in the report:
    The tag "center" is not allowed within: <p>
    In HTML 4.0, FONT is deprecated... consider using style sheets instead.
    Questions: On the gallery pages generated by the PS plug-in and pre-set, is there a way to control font attributes with a style sheet instead of using the pre-existing html styling? Do I need to be concerned about the attributes being deprecated?
    If you need to look at the web gallery, you can see it at http://www.LoonSongGardens.com/webgallery/galleryab.html
    If you look, you can see why I am daylilybud!

    I used an iframe (as opposed to a frame) as suggested in an article by David Powers about embedding a gallery into a web page. He says the iframe is acceptable in html, and no problem with the iframe itself was indicated during validation, just the FONT attributes from the PS preset I used. You can read the article here: http://foundationphp.com/tutorials/gallery/embed1.php
    In my current gallery, thumbnail captions appear from the metadata for each photograph. For each large image, both the title and the description come from the photo's metadata.  This works well for my purpose, and I want to avoid re-entering each title and description. I guess my question could be better stated by asking if CSS can be added to the preset to apply to captions coming from the metadata of each photo.
    Regarding the lightbox approach you suggest, I looked at the example and do not see captions under the thumbnails. Can captions be added to the thumbnail images? (It is essential that my thumbnails have captions.)
    Customers need to see the name of each plant when they browse thumbnails in order to select items (daylily plants) of interest.
    Because I am dealing with hundreds of photos and will need to update frequently, I am looking for a solution that is efficient and fairly easy to maintain. So far, the PS web gallery preset meets my needs better than anything else I have found, but I thought I'd try to find out if I should and can fix the FONT attribute validation problem.

  • Can I use a cell text as table name

    I would like to give my table name the same as the cell A1. the tables I am using are journals so the first cell is the date and I would like to give the table the same date. Can I link the two so I only have to write the date once?

    lovattsa wrote:
    I would like to give my table name the same as the cell A1. the tables I am using are journals so the first cell is the date and I would like to give the table the same date. Can I link the two so I only have to write the date once?
    No. But, you can Copy the content of A1 and Paste into the Table Name field in the Sheets Pane.
    Jerry

  • Can't use filter when accessing hana table through link from another table in sapui5

    Hi all,
    Have a strange one and I was wondering if someone had come across this before.
    Hana table structure
          entity SalesOrder {
        key element name : String;
        element contact : Association[0..*] to Contact via backlink order;
    entity Contact {
    element location: Location;
        element order : Association to SalesOrder;
    ==
    each sales order has a number of contacts.
    In javascript, if I bind on list of contacts directly then I can use the filter
    oRowRepeater.bindRows("/Contact",oRowTemplate,null,[new sap.ui.model.Filter("location",sap.ui.model.FilterOperator.EQ, "Germany")]);
    and if I enter link i returns the number of entries
    Contact/$count?$filter=location eq 'Germany'
    But if I get contacts through the sales order it doesn't allow me to use the filter,
    oRowRepeater.bindRows("/SalesOrder('mike')/Contact",oRowTemplate,null,[new sap.ui.model.Filter("location",sap.ui.model.FilterOperator.EQ, "Germany")]);
    I can return the contacts same as accessing them directly and i can get the information such as
    new sap.ui.commons.TextView({text: "{location}"}) same as before but only difference is that i can't filter.
    When I try the following I get error
    /SalesOrder('mike')/Contact/$count?$filter=location eq 'Germany'
    Error
    "message": {
                "lang": "en-US",
                "value": {
                    "type": "ODataInputError",
                    "message": "Bad Request URL: U"
    When I open Chrome Developer Tools I see the following error
    SalesOrder/contact/$count?$filter=location%20eq%20%27EMEA%27 400 (Bad Request)
    Basically the $count doesn't work if you access contacts indirectly even though the link is there.
    Is this a bug or am I doing something wrong?
    Hana is sp8, I am up to date with almost everything.
    Many thanks,
    Matthew

    for the reading/writing from oracle to access, you could do something like this:
    for table in oracle/access with fields of id(number), name(varchar/text):
    Connection oconn = //connect to Oracle
    Connection aconn =  //connect to access
    //create the insert statement into access table
    PreparedStatement apstmt = aconn.prepareStatement("INSERT INTO accesstable (id, name) values (?,?)");
    //select all the results neeed from oracle table
    Statement ostmt = oconn.createStatement();
    ResultSet rs = ostmt.executeQuery("select id, name from oracletable where...");
    while ( rs.next() )
         apstmt.setLong(1, rs.getLong(1));
         apstmt.setString(2, rs.getString(2));
         apstmt.addBatch();
         //if your driver doesn't support batching, just use this:
         //apstmt.executeUpdate();
    //use this only if you use batch statements
    apstmt.executeBatch();
    rs.close();
    stmt.close();
    apstmt.close();
    oconn.close();
    aconn.close();

  • Can i use OEM to automaticaly fill tables with data ?

    Hi currently, i have tables that contains data on our databases such as the characteristics of the servers where these DB are stored, the user enter these data manually via an interface. I know that OEM has these information, i want to use it to automatically fill the tables with it. Is that doable ?

    Apparently you know nothing of OEM architecture. The obvious would be to look up documentation, sadly you belong to the majority of people here refusing to read any documentation.
    OEM comes in the flavors Grid Control (monitoring multiple databases) and Database Control (monitoring one database).
    OEM needs a repository. Using Grid Control this is located in a separate database, and each server has the Intelligent Agent installed to collect information from that server, provided the database is registered against grid control.
    Using Database Control, the repository is in the monitored database.
    Having OEM 'feed' your 'repository' would be about the poorest solution you can implement. Converting your 'repository' in views on the OEM schema would be the only viable solution, as Grid Control automatically has the most recent info.
    And obviously, for those who read, the OEM info is in the SYSMAN schema.
    Sybrand Bakker
    Senior Oracle DBA

  • SELECT-OPTIONS can u use it to read internal table ?????

    Hello All,
       I am trying to read an internal table with the select-options statement. I am getting a syntax error so i am hoping i am just coding it incorrectly. Can someone tell me what is wrong here is the if statement :
    if p_begdte in t_rpt-datab and
           p_enddte in t_rpt-datbi.
        else.
           exit.
        endif.
    thanks scott

    This is not working?
    tables: a916.
    * Beg valid date *
    data text021(29).
    selection-screen begin of line.
    selection-screen comment 1(30) text-021 for field p_begdte.
    selection-screen position 32.
    select-options: p_begdte for a916-datab default '20041101' to
    '99991231'.
    selection-screen end of line.
    * End valid date *
    data text022(29).
    selection-screen begin of line.
    selection-screen comment 1(30) text-022 for field p_enddte.
    selection-screen position 32.
    select-options: p_enddte for a916-datbi default '20041101' to
    '99991231'.
    selection-screen end of line.
    start-of-selection.
    <b>Loop at t_rpt.
    if t_rpt-datab in p_begdte
      and t_rpt-datbi in p_endte.
    * do something
    else.
    exit.
    endif
    Endloop.</b>
    Regards,
    Rich Heilman

  • Can we use CSS Compass framework in Apex

    Hello friends,
    Can we [url http://compass-style.org] Utilize Compass framework  in APEX ?
    How ?
    Thanks,
    Fateh

    Of course, compile your scss-Files with Compass, deploy the generated css-Files to your apex environment and integrate them in your apex templates like any other css-framework. If there are problems in detail, please specify your question.
    Kind regards
    Robert

  • Can I use APEX directly read/sync with the Oracle Tables ?

    We have a Oracle Database to manage the design data.I am trying to setup a web-based front end using APEX to manage & monitor the parts ordering & logisitics.I want to drive the master data directly from the database without any export or data transfer ? Can I directly read or Link an Oracle tables from APEX application.
    Also,once this is setup,I am looking for setting up some data entry fields to enter Purchasing & Logistics information.Hope I can achieve this using APEX !
    Look forward for the appropriate response.
    Thanks,
    Sham

    Tony,
    Thanks & Appreciate your Quick response.
    Glad that I can use the existing Oracle db schema with APEX.I am not sure if there is any information as how I can connect or link my production schema to the APEX ! I was able to import .csv files & use XL data to create some test databases & play with APEX..but,I did try to go thru most of the instructions & guides to find how to use the production oracle tables,but,could not find anything particular...Please send me a link or material info.
    I suppose I can then use which ever attribute or table data that is required to build the queries ! I am planning to use the production data to build the ordering & logistics application using APEX.Assume I can create new fields & columns for parts that will be ordered & capture/record the purchasing information like Purchase order numbers/Supplier Info/Target Delivery dates etc...
    - Am on very tight schedules to get this application up & running ! Is there any support team or a technical support team that I can call upon if I need any help ?
    Thanks,
    Sham

Maybe you are looking for

  • VM does not assign all available memory to Server 1.5Gig missing

    We have a number of different servers all with 5gig memory. However I can only assign 3046m to the VM I am running on Oracle VMs with Oracle Enterprise Linux 64bit on these machines. However there is a large discrepency with the Memory on the VM and

  • Using cross-references in the index?

    Wondering if there are any suggestions out there for using cross-references in the index. I don't think using the "See also" option is what I'm looking for; what I'd like to do is create index entries with a cross reference next to them. I tried this

  • How do you include the actual CLOB value as ASCII when writing XML?

    When using the XDK for PL/SQL ( creating XML from query ) and the table that you query has a CLOB column the value in the resulting XML document is written as: <column>(CLOB)</column> how do you get the api to write the actual CLOB data?

  • Cannot create bean of class...using TOMCAT 3.1

    my root is: "notwww.ucsd.edu/somesub/" my beans are in .../WEB-INF/classes/aseBeans/ the error msg: Error: 500 Location: /studentaffairs/aseAppValidate.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot create bean of class aseBeans.A

  • MDM adpter picking up file twice.

    Hi, my scenario is MDM->PI->R3. When the XML files are generated into MDM ready folder,PI is picking these files twice. For Ex: Material no A20 is getting picked up twice. (Its result two messages in SXMB_MONI.Two IDOCS getting created at R3.) 1st me