Show/Hide Links

I am creating an employee site with DWCS3 for my school
district. I am using php with a mysql database. I am not really
skilled in mysql or php. The Tech Serv dept created the database. I
have been able to connect to the employee database with DW and
users can login using the login page I created with DW. Each user
also has an access level, either staff or administrator (admin). I
know that I can restrict access to an administrator page based on
username, password, and access level. However, I have been asked to
not even have the administrator link visible on the index.php page
if a person is not logged in as an administrator. What is wanted is
for an individual to login and if they are at the staff access
level, then they will see all the links to other areas on the
employee site except the link for administrators. If an
administrator logs in, that person will see all the links everyone
else sees and a link - Administrator - and then have access to
those pages as well. I thought this had something to do with
regions, but I can't figure it out. Can anyone explain how I might
do this.
Thank you,
--Linda

agldgs wrote:
> If an administrator
> logs in, that person will see all the links everyone
else sees and a link -
> Administrator - and then have access to those pages as
well. I thought this had
> something to do with regions, but I can't figure it out.
It's a simple conditional statement.
if ($_SESSION['MM_UserGroup'] == 'administrator') {
// show links for administrators only
Replace 'administrator' with whatever you use for the admin
access level.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Show/hide linked layers

    In webdev it is not unsual that design involves multiple variations like "pages" where mostly header and footer stays the same while its "content" (the page itself) changes. And then simulate a navigation by means of hiding and unhiding each respective "page" folder. Where also the site's menu tranforms as "navigation" evolves.
    It is a bit frustrating in order to achieve this to have to create a lot of duplicated menu folders and place'em under every "page" just to represent this selected links. And then if you have to redesign that menu, you have it spreaded throught several folder locations.
    I think being able to hide/unhide linked layers at a glance of a click would be nice to have and would allow you a more strealined work while redesigning linked portions.
    Any toughts on this or workarounds? Glad to hear.

    Are you familiar with Layer Comps?
    And then if you have to redesign that menu, you have it spreaded throught several folder locations.
    Please try using Smart Objects.

  • Getting Stale Data error in show/hide of Advance table

    Hi,
    Am using hide/show in advance table.If open the hide/show in 1st row then it shows correct data ,if i click the next row's show hide then its shows the same result as ist row, and i try to use show/hide link more thann three times then it throws stale data error given below.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The record with primary key values {1400} could not be found in view object MisForecastHeadOfiiceAM.InnerTableVO_OuterInnerVL_InnerTableVO.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    This problem doen't exsist when i deplo it to the server.
    But recently i marked if open a show/hide link of a row and add then add another row to the table and save.Then the same problem reflects in the instance also.
    What may be the possible cause.
    Thanks

    if i click the next row's show hide then its shows the same result as ist row, and i try to use show/hide link more thann three times then it throws stale data error given below.
    >>> Seems like your VO linking is not proper. Does your VO have primary keys defined? Do you have any custom code on these VO?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can`t hide link in Collapsible Panel

    Hi all.
    Have one problem. Сan`t realize in Collapsible Panel show/hide function with Close & Hide links.
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS6A1887F2-D97C-48a9-A26C-C311CE4B1F83. html
    Get sample from here-> http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/collapsible_panel_sample. html (Open Panel with Link)
    Sorry for english - hope all write !
    1) Try with Layers - but this layers don`t clinging to necessary place =(
    2) Through <div> tags (apDiv1 - without parametrs (only id))
    a) Out of Collapsible Panel. Сan`t expose in row AP Elements - hidden for "apDiv1". By default this tag is visible & not exposed to hidden-in this panel nothing to change.
    <p><div id="apDiv1"><a href="#" onclick="CollapsiblePanel1.open();MM_showHideLayers('apDiv1','','hide','apDiv2','','show')">Open Panel</a></div>
    -------<div id="apDiv2"><a href="#" onclick="CollapsiblePanel1.close();MM_showHideLayers('apDiv1','','show','apDiv2','','hide')">Close Panel</a></div>
    </p>
    <div id="CollapsiblePanel1" class="CollapsiblePanel">
      <div class="CollapsiblePanelTab"><a href="#">Open Panel with Link </a></div>
      <div class="CollapsiblePanelContent">
        <p>This Collapsible Panel is opened and closed with a link. </p>
      </div>
    </div>
    (And this variant does not make)
    b) Inwardly "CollapsiblePanelTab".But making apDiv1 or apDiv2 hidden - CollapsiblePanelTab is disappears.
    <div id="CollapsiblePanel2" class="CollapsiblePanel">
      <div class="CollapsiblePanelTab"><div id="apDiv1"><a href="#" onclick="CollapsiblePanel2.open();">Open Panel</a></div> | <div id="apDiv2"><a href="#" onclick="CollapsiblePanel2.close();">Close Panel</a></div></div>
      <div class="CollapsiblePanelContent">
        <p>text2</p>
      </div>
    </div>
    3)Show hide links?
    <a href="#" onclick="return toggleMiniToc('minitoc-links', this);" class="hideLink">Hide</a>
    But I d`t understand how to do what!
    What wrong way?

    Hi,
    It is ok to not working the link because like this was
    designed. When you click o a collapsible panel tab, you want to
    open the new tab, not to follow the link if this exist.
    So this behavior was added on purpose. If you want to disable
    this behavior, you should go on th SpryCollapsiblePanel.js file and
    remove the stopPropagation function.
    Diana

  • Issue while readnig child records of Advanced Table after show/hide event.

    Hi All,
    As suggested in OAF dev guide, I used below piece of code to get control on Child items for selected Parent
    -- code Starts
    // get a handle to inner table
    OATableBean innerTable =
    (OATableBean)webBean.findChildRecursive("InnerTableBean");
    // create an enumerator
    OAInnerDataObjectEnumerator enum =
    new OAInnerDataObjectEnumerator(pageContext, innerTable);
    while (enum.hasMoreElements())
    RowSet innerRowSet = (RowSet) enum.nextElement();
    // get all rows
    Row []rowsInRange = innerRowSet.getAllRowsInRange();
    for (int i = 0; i < rowsInRange.length; i++)
    Row nextRow = (Row) rowsInRange;
    -- code Ends
    The above piece of code works when I don’t select show/hide link of Adv table and select custom ‘Update Parent/Child’ button that is placed at header(parent) level,
    upon btn event it returns all the rows of parent and works fine. But when I select show/hide link and then select ‘Update Parent/Child’ button then only it return no of Child rows displayed (fetched) on page...
    For example, If I have 100 child records of a set and only 10 child rows are displayed at a time on child region , then above code only returns 10 records,
    Ideally it suppose to return all 100 values.
    Can someone please help on this to understand why it only return 10 records not all 100 after selecting Hide show region ? and how can I fix this issue.
    Thanks
    Anand

    Hi,
    Use the VO attached to the inner table and use VO.fetchedRowCount instead of rowsInRange.length in the for loop.
    int rowcount = vo.fetchedRowCount();
    i.e. for (int i = 0; i < rowcount ; i++)
    Thanks,
    Kumar

  • Making links that show/hide layers?

    Hi all,
    I created an InDesign cs4 file which is pretty much a guide for users of my liveCicle form. I have a bunch of layers in the file.
    I'm trying to make links associated with images that are in its own layers. So when i export the file to pdf and hit certain link, layer associated with that link shows up. I tryed to do this in acrobat 9 pro. I created links, but the problem is that links in non visible layers work behind the scene when i hover over.
    Is there a way to set layer visability in inDesign CS4?
    Thanks in advance

    No you can´t toggle layer visibility with buttons made in indesign. You have to finish it in Acrobat....
    Only way to make something appear or disappear in ID is to use show/hide buttons action...
    You can convert those images you want to show&hide to buttons. Then you can create another buttons to show or hide them.
    If you export as PDF, default state of a button can be hidden...

  • How to show/hide a link column in a report, depending on another column?

    Sorry, thread duplicated.
    Edited by: Andres Vilallave on 14-may-2010 15:31

    Hello,
    I had a situation similar to this. I had NULL selected in the column when I wanted to hide the link. Please find below more explenation:-
    <b>example report </b>
    Interactive Report
    Col1     col2     col3
    1          a1       a2
    2          b1       b2
    -           c1       c2
    -           d1       d2
    -------------------------------------------In the above Report <b><i>col1</i></b> is a link . Upon clicking this, user should will be directed to Page XX
    so, when data in col2 of report is c1 or d1[can be a different display condition, you may want to implement this with CASE or anyother SQL construct] , I selected NULL which will not show the link.
    so, my point is, if the SQL you have in the INTERACTIVE REPORT is creative enough to have NULL in the column, Link is not enabled.
    Hope I got your problem correct.
    Thanks,
    Chaitu.

  • Issue with page processing - confirmation message & show /hide a button..

    Hello,
    I am working on a to do list application.
    I have events and for each event, I show list of tasks (grouped in reports based on the calculated task's status).
    In one region I have a drop down list of events and a Select Event button.
    For each task, I had to create a CLOSE option (initially I used a link, but the requester wanted a confirmation before closing the task).
    Now I have a checkbox for each task (generated dynamically with apex_item.checkbox(1,task_id)).
    Closing a task in my application means to set the end_date to sysdate.
    I followed the instructions from
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/check_box.htm#CEGEFFBD. I've created also a button and a process and updated the sql from "delete" to "update".
    The process is set: OnSubmit - After Computations and Validations; Run Process Once per page visit (default).
    The issue number 1 is that I see the confirmation message (that tasks have been closed) every time I reload the page (the same when I click Select_event button).. not only after I press on that Close_task button..
    For issue number 2, I have to mention that I've added a condition to show / hide the Close_task button, only if I have at least 1 task in the report.
    The issue number 2 is that I see the button only if I click 2 times on the Select_Event button.. The same is for hide.
    I feel like I am missing something very important about how to synchronize different events(buttons clicks), processes..
    help..?
    Thank you!
    Anca

    This forum is magic..
    As soon as write here, I find the answer!
    Issue 1: I fixed it by specifying this: When Button Pressed (Process After Submit When this Button is Pressed) and my button. I miseed this 1st time.
    Issue 2: I moved the button after the report.. and now it's working just fine!
    I did this about it for some time before asking the question here.. but I just had to write here and got the right answer ;)
    Have a nice day!
    Anca

  • How do you allow firefox to toggle show/hide menus

    I am using a website that has a show/hide text toggle. When I click the show button, it opens a new blank tab. I tested this on google chrome as well and it works properly. There must be a setting in firefox to correct this but I don't know what it is.

    Such a hide/show action is usually done via a JavaScript onclick event.
    If you get a new tab or window then this would suggest that the onclick isn't working and that the href is used and opens the new tab.
    You could check via the right-click context menu in the Inspector if there is an 'ev' button appended to this link (button).
    *https://developer.mozilla.org/Tools/Page_Inspector
    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Robo v9 Show/Hide without Twisties - One button no longer working

    Hey there, as stated I am using Robo v9 with Show/Hide without Twisties (One button) with javascipts.  We have most of our images using DHTML drop-downs and when folks click on "Show All Images" on the page, the GIF changes to "Hide All Images" and all drop-downs (our images) and expanding text are diaplayed.
    It had been working all the time, but now it only works when I right click the topic in the TOC and choose "Edit Topic", then while in the Edit Window (Display view), when I do a View (Ctrl-W) and it displays the page within RoboHelp..I can click the "Show All Images" and it works like it always had.  BUT, if that page is not in the Edit Window, and I right click "Preview Topic", the click "Show All Images" (or on the DHTML dropdown itself) it will NOT show the images, *but the GIF image does properly toggle to "Hide All Images" (and if I do again, then it properly toggles to the "Show All Images" GIF, if I do it again), but now NO images are getting displayed for some reason.  It also NEVER works properly when I publish to our website (even when clicking the DHTML dropdown itself), but the GIF images toggle properly.
    If I right click and choose "Preview Topic" and click "View With" and use Internet Explorer 8 it still never works anymore, unless the topic is in the Edit Window (Display View), so I know the issue is not on the server.  It stops working after I do a generate and run on my pc.  Also when I view it IE8 within Robo (and Allow the Blocked Content to run the scripts), many instances of the same error is shown as:
    Message: Access is denied. 
    Line: 2646
    Char: 3
    Code: 0
    URI: file:///D:/Users/_RBH9_TPO-Generate/v9-testing/ehlpdhtm.js
    ...but I *do* have access to the folder system, but in checking the coding of the ehlpdhtm.js, that area show, where I believe line 2646, character 3 starts at the "values = getAttribute(element, prop );" line below...but maybe something does not exist:
    ==
      //End HTML code invoked function
    function InitEffect( element, prop )
    var values = null;
    if( getAttribute(element,prop)) 
      values = getAttribute(element, prop );
    else if( getAttribute( element, "currentStyle" )  && element.currentStyle.getAttribute)
      values = element.currentStyle.getAttribute( prop );
    else  if (element.style.getAttribute)
      values = element.style.getAttribute( prop );
    if( !values )
      return;
    var functions = new Array();
    ==
    I have a much older backup when restored, it all works properly again in all cases, but I have done so much work since then that I think would need to be manually redone.  I have played with keeping those some javascipts alone (in case I changed something) and updated the rest of the data files I had added, deleted the .CPD file, but it somehow stops working again, probably with some updated file.  I am not sure what specific files could be causing the negative impact that is preventing it from working.  Maybe if I knew what files could impact, I couldrestore those from my old backup.  The newer backups when restored do not work properly, so there was a point in time where something changed and is causing this.
    All prior versions of RoboHelp (v7 and v8) have always worked and still do.  I am using v9.0.1.262, as the latest version has not yet been allowed on our pcs (per security), but since my earlier backup works, I thought it may not be the issue, but wanted to tell you anyway.  ;->
    Any ideas on how I should proceed?  What files may have impact to cause it not to work anymore?  The showhide.js is the only .js to show up as a baggage file.  Also, the DHTML line does exits in each html page's code, as we are still using Robo v7 as the production software and the Show/Hide always works, and I copy them into the respective Robo v9 folders (and if new, then I copy them, then import them), otherwise the newer v7 updated pages are copied over the older v9 html files while RoboHelp is closed.
    Thanks in advance for any info you can provide!

    I may have figured out what to fix to get v9 back to working on the Show/Hide button, but not the "why?" .
    It looks to all be dealing with the Robo automatic html coding of where to locate the .js file(s)...here is a quick overview of this issue and what I did.  When I view the non-working pages within Internet Explorer 8 within Robo (and Allow the Blocked Content to run the scripts), I saw many instances of the same error is shown as this in the log, which implied since I *do* have access rights, maybe the file was just not being found.
    Message: Access is denied.
    Line: 2646
    Char: 3
    Code: 0
    URI: file:///D:/Users/_RBH9_TPO-Generate/v9-testing/ehlpdhtm.js
    OK, here are my findings.  EXAMPLE #1 and EXAMPLE #2 below are excerpts of the same file.  EXAMPLE #1 is from Robo v7 and is copied to the v9 folder after it was updated so our soon to be "production" webhelp will be from Robo v9 (instead of making the same manual updates in Robo v9 as in Robo v7, I copy the updated the .html file to the Robo v9 file system).  Note the direction of the directory slashes of the java scripts listed below, as they are all DOS type slashes (back slashes), EXCEPT for ehlpdhtm.js as it is the ONLY one using UNIX (forward) slashes.
    EXAMPLE #1 (from Robo v7)
    ==
    <link rel="StyleSheet" href="..\..\sty-std-topic.css">
    <script type="text/javascript" language=JavaScript x-save-method=compute-relative
    src="..\..\showhide.js"></script>
    </head>
    <body>
    <robohelp><script type="text/javascript" language=JavaScript1.2 src="../../ehlpdhtm.js"
    x-save-method=compute-relative></script>
    <script type="text/javascript" language=JavaScript1.2>
    <!--
    if( typeof( InitEffects ) != 'function' ) InitEffects = new Function();if( typeof( InitTrigger ) != 'function' ) InitTrigger = new Function();if( typeof( FilePopupInit ) != 'function' ) FilePopupInit = new Function();if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
    //-->
    </script>
    ==
    EXAMPLE #2(from Robo v9)
    This is from the restored backup of the Robo v9 files that always work when I restore them, and note they are ALL UNIX (forward) slashes.  These backup files were generated from Importing/Upgrading a copy of the Robo v7 files into Robo v9.
    ++
    <title>[Endpoint Protection] Symantec Overview</title>
    <link rel="StyleSheet" href="../../sty-std-topic.css" type="text/css" />
    <script type="text/javascript" language="JavaScript" src="../../showhide.js">
    </script>
    </head>
    <body>
    <?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2">
    </script><?rh-script_end ?>
    ++
    Additional info: The following is from another file from the Robo v9 backup files that always WORK and once again they are ALL UNIX (forward) slashes. 
    ~~
    <link rel="StyleSheet" href="../../sty-std-topic.css" type="text/css" />
    <script type="text/javascript" language="JavaScript" src="../../showhide.js">
    </script>
    </head>
    <body>
    <?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2">
    </script><?rh-script_end ?>
    ~~
    BUT since all .js files are referenced in EXAMPLE #1 have DOS slashes (back slashes), EXCEPT for the ehlpdhtm.js, I decided to change the line in ehlpdhtm.js FROM src="../../ehlpdhtm.js" TO src="..\..\ehlpdhtm.js" and IT (this one page) BEGAN WORKING AGAIN after I published.  So having all DOS back slashes DOES work in Robo v9!!!!  BUT it appears that Robo v9 only generates new pages using UNIX (forward) slashes in ALL coding.  I've read about issues like this occurring with the FireFox browser, but we only use IE8, and have not read anything like this related to IE8 issues. 
    So if all UNIX forward slashes and all DOS back slashes can work in Robo v9 in finding and using ehlpdhtm.js, (the Show/Hide buttons function properly) why is this problem existing in Robo v9 when there are mixed "slashes" (using forward and backward)?  ...and the mixed slashes ALWAYS works in Robo v7!  They do not have to all be in the same direction in Robo v7 as it appears to have to be in the newer/more advanced Robo v9.  Why does it matter that all slashes need to be all the same direction, if Robo v9 CAN actually read and figure out the DOS back slashes (formatted by Robo v7 creation) and actually generates UNIX forward slashes for the .js files in new Robo v9 output within the .html?
    More importantly will I have to always do a Global search and replace in Robo v9 to change the direction of the "back slashes" when I copy updated Robo v7 .html files into the Robo v9 folders (instead of manually reworking each change), while in transition from v7 to v9?
    Thanks in advance any information, recommendations, and feedback as your time is greatly appreciated!

  • Show/Hide tabs in top level navigation of a role based on assigned services

    Hi,
    I have an interesting requirement. I have created an overview page in abap web dynpro which has links to various services.
    Based on the r3 roles assigned to the user, we need to show/hide the services in the overview page and top level navigation.
    I can show/hide the views in the overview page but the links on top level navigation are created in the portal frontend by creating worksets, iviews, etc.
    Is there a way I can show or hide these worksets which are defined in the role on top level navigation?
    In a nutshell, can i update the visible/invisible property of a java workset from a call in abap web dynpro?
    Regards,
    Sumeet

    Please refer the framework page [http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm]
    What i meant was that you can do a custom TLN like this
    [http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm]
    Seems to me java/jsp is more appropriate than doing it via WDA.
    ANother way that you might look into this is Application integrator which again java programming effort needed.

  • Error while trying to view the details table from Show/Hide icon

    What we are having is two tables, Outer and Inner, having Outer VO and Inner VO,outer VO is linked with inner VO. Now when I am trying to view the inner table
    through Show/Hide icon to see the details of the table ,I am getting an error like ...
    The record with primary key values {2280} could not be found in view object MisForecastHeadOfiiceAM.InnerTableVO_OuterInnerVL_InnerTableVO.
    I want to know how this error can be resolved

    Hi Abdul,
    We are not getting error while searching. As said earlier
    While search for the first time > We could see proper results in out table and Even show/hide is working fine and display correct data in Inner table
    When searching for the second time with different criteria > We could see proper results in outer table and on clicking show/hide (to view inner table data), we are getting error.
    The record with primary key values {2280} could not be found in view object AM.ViewLinkVL_InnerTableVO
    From the error message, we found that its trying to get the row (of inner table) pertaining to first search results and not for the outer table row in context to second search results.

  • Show/hide elements in DW CS3

    I've just posted this question and got a reply from John
    Waller, thanks John, but what I mean is that I don't want to use
    layers, this has to do with the positioning in a table. I want to
    add images to a table which is in a layer so I can put margin-left
    and margin-right for the layer to "auto" so the whole table
    (including images) will always be centered. If I add layers to the
    table and add images to the layers (to get the mouse-over effect)
    the layers will not move with the table to the center of the page,
    I hope you guys know what I mean.
    Anybody knows if it would be possible in DW CS3 to do so, see
    the original question underneath to get the picuture:
    Thanks again.
    Hi
    In DW8 I often used the possibility to put several layers on
    top of eachother with images in them, this way I could show/hide
    layers so the images would be visible when having a mouse-over
    action on a thumbnail for example.
    Now DW-CS3 gives the option show/hide elements, however, I
    can not simply put elements on top of eachother, which is what I
    want.
    Am I stuck on using DW8 and the show/hide layers option, or
    is there a way to put multiple images (elements) on top of
    eachother in DW-CS3?
    Thanks, have a nice day
    Ferrohead

    > table which is in a layer so
    > I can put margin-left and margin-right for the layer to
    "auto" so the
    > whole
    > table (including images) will always be centered.
    You don't need to use a 'layer' for that, and I assume that
    you mean a <div>
    not a layer, since the latter implies absolute positioning.
    > If I add layers to the table
    I sure hope you are referring to just div tags and not
    layers, because you
    would never want to put an absolutely positioned element
    directly into a
    table cell.
    > I hope you guys know what I mean.
    Yes, I'm afraid I do. This whole scheme is just wrong.
    It would be much better to use the SetText behavior to simply
    dynamically
    write the desired image link into a named container on the
    page, much like
    you can see being done here -
    http://dreamweaverresources.com/tutorials/settextoflayer.htm
    and a tutorial
    http://www.dreamweaverresources.com/tutorials/settextoflayer.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Ferrohead" <[email protected]> wrote in
    message
    news:[email protected]...
    > I've just posted this question and got a reply from John
    Waller, thanks
    > John,
    > but what I mean is that I don't want to use layers, this
    has to do with
    > the
    > positioning in a table. I want to add images to a table
    which is in a
    > layer so
    > I can put margin-left and margin-right for the layer to
    "auto" so the
    > whole
    > table (including images) will always be centered. If I
    add layers to the
    > table
    > and add images to the layers (to get the mouse-over
    effect) the layers
    > will not
    > move with the table to the center of the page, I hope
    you guys know what I
    > mean.
    >
    > Anybody knows if it would be possible in DW CS3 to do
    so, see the original
    > question underneath to get the picuture:
    >
    > Thanks again.
    >
    > Hi
    > In DW8 I often used the possibility to put several
    layers on top of
    > eachother
    > with images in them, this way I could show/hide layers
    so the images would
    > be
    > visible when having a mouse-over action on a thumbnail
    for example.
    > Now DW-CS3 gives the option show/hide elements, however,
    I can not simply
    > put
    > elements on top of eachother, which is what I want.
    > Am I stuck on using DW8 and the show/hide layers option,
    or is there a way
    > to
    > put multiple images (elements) on top of eachother in
    DW-CS3?
    >
    > Thanks, have a nice day
    >
    > Ferrohead
    >
    >

  • Buttons: show/hide feature

    Hi,
    I thing I know what the answer to my question will be, but I'm hoping that one of you InDesign gurus out there can provide me with a different answer to my question.
    I'm putting together an interactive PDF of a directory of helpful links related to different topics. The topics are buttons that the user will click on that will display off to the side a list of links and their titles that can be either clicked on (hyperlink) or copied and pasted to an email. I've created the list of links as separate objects and to display each of these objects, I've converted them to buttons and used the Show/Hide buttons feature on the topic buttons so that when a topic button is clicked on, it will display that list of links to that topic. It works fine, but of course, now that the link lists are buttons, they can't be copied and worse yet, can't be clicked on to access the web page from that link. Obviously, by converting my link lists to buttons so that they can be displayed when the topic button is clicked, I've lost the capability of the link list to do what it was supposed to do.
    The obvious solution would be to use object states, so that I maintain the original function of the link list for copying and accessing the web page of the link, but my reason for not using object states is that I don't want the output in a SWF file, which is the only way to use object states. Another solution would be to use separate pages to display each topic link list, but my concern about that is possible increase in overall file size if I have so many pages. Finally, I noticed that Adobe Acrabat has a show/hide layers feature that might work for my purpose, but I like the button creation of InDesign better.
    Is there any other way to accomplish what I want done other than the above solutions, or am I just going to have to settle for one those solutions?
    Any help would be greatly appreciated.

    I assume that you're talking about Show-Hide Fields in an interactive PDF. It's not likely that it will work given the limitations of most PDF readers on mobile devices.
    I'm a user of an iPad and iPhone, and haven't worked with Android or Windows devices but I think the issues are the same on all platforms. Some PDF readers are better than others. You didn't say what PDF reader you were testing on.
    Here are two articles I've written about the frustrations of getting interactivity to work on mobile devices, in this case, an iPad:
    http://indesignsecrets.com/for-interactive-pdf-not-all-readers-are-equal.php
    http://indesignsecrets.com/navigation-button-tricks-for-interactive-pdf-on-an-ipad.php
    The best PDF reader for iOS devices is PDF Expert, but I don't believe that exists for Android or Windows devices. I can view interactivity that Adobe Reader doesn't support.

  • DW: Show-Hide Layers

    Hey, I’m having two issues with the Show-Hide Layers
    behaviour in Dreamweaver and was wondering if someone else has had
    the same problems and has a solution.
    My test page is
    http://www.petermcphee.com/dreamweaver/popup-layer.html
    1) What I would like is to show the layer when the link is
    hovered over, which works fine. However, I also want the layer to
    remain visible while the mouse is over the layer and disappear when
    the mouse leaves the layer.
    I Googled for a while and found some tutorials that deal with
    showing/hiding layers but they hide the layers once the mouse
    leaves the original link, not the layer.
    2) Also, the site that I want to apply this behaviour to has
    an auto centering wrapper box, so I would like the layer to popup
    right underneath the link every time without converting the entire
    site to absolute positioning. As it is now, the popup appears at
    different locations depending how wide my browser is.
    Is this even possible with the current DW functionality?
    Thanks a lot!
    Peter.

    > 1) What I would like is to show the layer when the link
    is hovered over,
    > which
    > works fine. However, I also want the layer to remain
    visible while the
    > mouse is
    > over the layer and disappear when the mouse leaves the
    layer.
    When you show the layer, also show an underlying layer that
    contains a
    transparent GIF image that is about 10px wider/taller than
    the layer you
    show. Apply a hide layer behavior to the GIF image that hides
    both the
    layer you just showed, and the underlying layer. Remove the
    mouseout hide
    event from the original trigger. Does that make sense?
    > 2) Also, the site that I want to apply this behaviour to
    has an auto
    > centering
    > wrapper box, so I would like the layer to popup right
    underneath the link
    > every
    > time without converting the entire site to absolute
    positioning. As it is
    > now,
    > the popup appears at different locations depending how
    wide my browser is.
    Change this -
    </head>
    to this -
    <style type="text/css">
    <!--
    body { text-align:center; }
    #wrapper { text-align:left; width:760px; margin:0
    auto;position:relative; }
    /* 760px will display on an 800px screen maximized browser
    window without */
    /* horizontal scrollbars. */
    -->
    </style>
    </head>
    change this -
    <body ...>
    to this -
    <body ...>
    <div id="wrapper">
    and this -
    </body>
    to this -
    <!-- /wrapper -->
    </div>
    </body>
    and see if that helps.
    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
    ==================
    "petertyler" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hey, I?m having two issues with the Show-Hide Layers
    behaviour in
    > Dreamweaver
    > and was wondering if someone else has had the same
    problems and has a
    > solution.
    >
    > My test page is
    http://www.petermcphee.com/dreamweaver/popup-layer.html
    >
    > 1) What I would like is to show the layer when the link
    is hovered over,
    > which
    > works fine. However, I also want the layer to remain
    visible while the
    > mouse is
    > over the layer and disappear when the mouse leaves the
    layer.
    >
    > I Googled for a while and found some tutorials that deal
    with
    > showing/hiding
    > layers but they hide the layers once the mouse leaves
    the original link,
    > not
    > the layer.
    >
    > 2) Also, the site that I want to apply this behaviour to
    has an auto
    > centering
    > wrapper box, so I would like the layer to popup right
    underneath the link
    > every
    > time without converting the entire site to absolute
    positioning. As it is
    > now,
    > the popup appears at different locations depending how
    wide my browser is.
    >
    > Is this even possible with the current DW functionality?
    >
    > Thanks a lot!
    >
    > Peter.
    >

Maybe you are looking for

  • Pdf complete does not always create a correct pdf document

    The HP Z230 I bought recently was equipped with PDF Complete to print to a pdf file.  Unfortunately, it is inferior to the freeware CutePDF, in that sometimes it doesn't convert all of the letters in the document, and the font is strange.  I've made

  • Looking for Trainee in Flex Builder 3.0

    There is a urgent need of Flex Trainer in Flex Builder 3.0 If, any you can call me to this no 0124-4277826 Or mail to [email protected]

  • L540 Can external monitor/TV be connected?

    I'm aware of connecting an external monitors such as a tv thru an HDMI connector but the L540 that I'm looking to buy doesn't seem to have one.  I'm not so good with the hardware tech terms (letters) to know if there is something on the L540's that w

  • Adding amounts in an internal table

    I have created an internal table which has values BP number, Contract Account and amount paid. i would like to add the amounts paid per business partner and per contract account and only display the total amount paid per business partner and per cont

  • URGENT - Can I predefine form fields dynamically??

    Hello, I am wondering if I can predefine forms (pdf-form-fields) by content coming from a database for example. So the user only needs to validate the information instead of writing it by himself before printing it for example. Can anyone help me ple