Disable a tag

Hello all,
I have put together a nice javascript image viewer. It has thumbnail pics off to the left and a large display to the right for the thumbnails that are clicked on. It works fine.
I am trying to figure out a way to make it accessable to those who do not have javascript enabled. My idea was to have a link to a blank page for each of the thumbnails. This link would be disabled by javascript so that it only opens a new page to view the image if javascript is disabled.
The code I  used is something like this:
**** javascript ****
function disableLink(theLink)
document.getElementById(theLink).disabled=true;
**** html ****
<a name="link_1" id="link_1" href="image_path" target="_blank" onmouseover="disableLink('link_1')">
<img src="image_path" height="300" width="300" alt="some text" onclick="changeDisplay('image_path')" />
</a>
Thanks everybody!

**** html ****<a name="link_1" id="link_1" href="image_path" target="_blank" onmouseover="disableLink('link_1')">
<img src="image_path" height="300" width="300" alt="some text" onclick="changeDisplay('image_path')" />
</a>
Try -
<a name="link_1" id="link_1" href="image_path" target="_blank" onclick="changeDisplay('image_path');return false;">
<img src="image_path" height="300" width="300" alt="some text" />
</a>
and remove your javascript function completely.
By the way, you may want to read this about using "_blank" as a target -
http://www.tjkdesign.com/articles/popup_window_with_no_extra_markup.asp

Similar Messages

  • Disable 'Preprint Tag' menu option in WCT7 for WCD printing

    All,
    We have a requirement for disabling the menu option in WCT7 -
    In the WCD Item Maintenance screen, if we goto
    Menu - Edit->Print->Preprint Tag.
    We want to disable the option 'Preprint Tag'.
    The problem is when user tries to 'Preprint Tag', it prints the WCD and directly moves from ITG to ETG, instead of going to PTG status. Hence user wants this button to be disabled.
    Is there any suitable menu exit or enhancement point for this requirement? Is there any authorization object that can be used? Has anyone worked on this requirement before?
    Any pointers in this direction are appreciated.
    Regards
    Deepthi

    Hello Hubert,
    you don't happen to have a sample or something? I tried to implement the hideMenuItem like it is described in the Acrobat scripting reference, but I still got the 'NotAllowedError'. I really find it confusing because some things of the Acrobat scripting is also working in Designer, others are not. Do you know if there is a documentation about this, like which Acrobat function can be used in Designer, which not, and which Acrobat function is named different in Designer, etc.?
    Regards, Karin

  • How to disable html tags in richtext editor

    Hi All,
    I want to disable the html tags in rich text editor.I am able to disable the all components using the following code
    af:richTextEditor id="rte2" toolboxLayout="spellcheck"/>
    <f:facet name="spellcheck">
    <af:commandLink id="chek" text="Check Spelling" styleClass="linkcont"/>
    </f:facet>
    When page gets submitted i dont want all the html tags in it How i can achive this.
    Regards,
    Smaran

    Hi,
    I am not sure your question is complete as it seems to lack content, Anyway, did you try a value change listener to access the content and parse it for HTML tags?
    Frank

  • Disable anchor tags in jsp

    Hi, can anyone help me out with this.
    I have a tree structure in a jsp displayed using tag library. Each element in the tree is an anchor link.
    On click of each link there is some process happening in the background which will take some time.Hence i need to disable all other anchor tags while one anchor link is being processed to prevent the user from clicking on it.
    How can this be done?
    Thank you.

    I don't understand. It seems to me like you've already got the solution right there in your image tag.
    if i don't do that the picture can be all sizes Then ... do that ... ??

  • Disable ICE tag-insight

    Hello, just wondering how I can disable this new in-content
    editing thing for ALL tag-insights, and maybe at the same time Spry
    also?
    Never really had a big problem with the Spry insight, just
    now Ice is comming up a LOT more often then Spry used to and its
    bugging me to death, thank you
    *edit*
    Sorry! I should have mentioned this question is for CS4,
    thanks again

    It looks like the ability to disable this in CS5 has been intentionally removed.
    It appears that Adobe has hard-coded these attributes rather than place them in the editable code-hinting files.
    FYI Adobe, our team is staying on CS4 until this is resolved in CS5. My primary role is writing HTML and CSS and in the average day I type the id attribute dozens of times. Having the go back and correct the code-hinting wastes valuable time and poses a significant usability problem to me and my team.
    In the future, please don't sacrifice usability to push features/products. It reflects poorly on Adobe and has cause us to consider alternatives.

  • How do I Disable Smart Tags?

    How do I turn off smart tags? I am not sure if that is the correct name for them. Everytime I click any button lately, I get a dropdown menu; it is getting very frustrating. I am sure I have clicked on something that activated this, but cannot find what it was and how to change it; help please!

    Smart Tags. Maybe, you might want to make a picture of the tag, and show it here. It sounds like you might have unintentionally activated Tabs whenever a new window is opened in Safari; if that's the case, go to Safari/Preferences/Tabs, and unclick the second window.
    In any case, post here with your results.

  • Taglib repeating in jsp page in TOMCAT. (Can this be Tag pool issue? )

    Hi,
    We have an application and it is running fine on one servlet container "ServletExec". We are migrating our application to Tomcat and some weird things happenned.
    In one of my JSP pages say page " A ", I have included another small JSP say " B "which just created a table with one row and various columns.
    Now the columns are created in a taglib. And I am using that taglib inside that page " B".
    Now this is working fine in ServletExec.
    But in tomcat when I refersh page A or come to this page dfrom some other page, there are multiple instance of tables from page B are rendered.
    SO every time I refresh a new entry added to already existing table.
    Can any one please help?
    I looked in some documents and found that this may be because of some Tag pooling in Tomcat newer versions. Is that right?
    If yes how can I remove this tag pooling in my taglib java class?
    Any help is highly appreciated.
    Thanks

    Hi
    try disabling the tag pooling and check the page.
    To disable the tag pooling in Tomcat
    make enablePooling = false for the jsp servlet declaration in
    $TOMCAT_HOME/conf/web.xml
    Regards

  • How to disable the geotag NAG screen.

    1. Is there a way to either to (ENABLE/DISABLE) geo-tagging permanently.
    2. If YES, is there a way to disable the NAG question when taking pictures.

    Hi,
    In case you want to disable the screen elemnts/fields when one clicks on 'DISPLAY' then you have to do the following:
    This should be written in PBO (Process before output).
      LOOP AT SCREEN.
        IF screen-group1 = 'DIS'.
          screen-input = '0'.
          MODIFY SCREEN .
        ENDIF.
      ENDLOOP.
    This will disable the fields you want on your screen.
    the fields that you want to disable should be put into a group say 'DIS'(screen-group1 as seen above) in SCREEN PAINTER.
    Hope this helps.
    Thanks,
    Rashmi.

  • Tag base in HTML page from web repository

    We are using EP 6.0 SP10 with KMC SP10 on host http://ep60:55000/. We want to configure web repository for http://example.com.
    We have created HTTP system "ExampleSite" in KM system landscape for web site "http://example.com", created web site "Example" in KM landscape and configured web repository manager "WebSystems" with prefix "/websys" for created web site "Example" with property "External Server URI Handling"="rewrite".
    We were create URL-iView on link http://ep60:55000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/websys/Example.
    The problem is following:
    There is no tag <base> in page content when we opening http://example.com directly in browser.
    When we preview created URL-iView page it is opened but tag <base href=http://example.com> is present in HTML page content.
    Thefore all relative links point to http://example.com but not to http://ep60:55000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/websys/Example as we need.
    What settings (in web repository, HTTP System or anywhere) disables addition tag <base> to page content?

    Hi, All. Sorry for tardy reply.
    Now i'm attempting to use "HTML Filter" (from repository filters in Content Managenment Configurator) for reset base tag.
    Unlike "HTML Stylesheet Filter" working fine (LINK tag is appearing in content of HTML repository documents),
    "HTML Filter" doesn'n work (browser display "500 internal error"). This error possess when we use "HTML Filter" for native CM repository (for example: documents).
    I find following error in knowledgemanagement.0.log file:
    #1.5#C000AC140312000500000002000012240003F737312F4F50#1116241350578#com.sapportals.wcm.protocol.webdav.server.WDGetHandler#irj#com.sapportals.wcm.protocol.webdav.server.WDGetHandler#System#0#####Client_Thread_7##0#0#Error##Plain###Exception while applying filters: null - com.sapportals.wcm.repository.ResourceException: Exception while applying filters: null
    Displaying pages from repository without "HTML Filter" works fine.
    My filter has following properties:
      Base Tag      = http://test.base.tag/
      Extensions    = htm
      MIME Types    = text/html
      Paths         = /**
      Active        = checked
      Priority      = 99
      Repositories  = documents
    I'm not use properties "Base URL", "URL Handler Class"
    What is a reasone of the error?
    Did anybody find a solution to remove/reset base tag?

  • Meaning of tag column in lookup code

    Hi,
    I would like to disable some values in lookup code, but some values have value in tag column (Y). So it is impossible to disable them.
    The lookup code I would like to update is CONTACT_TITLE (in receivables lookups).
    How can I disable these tagged values please?
    Thank you
    Tiana

    Hi Jens,  
    Thanks for your reply.
    For the description of each field/value in TFS DB scenario, please submit it to User Voice site at:
    http://visualstudio.uservoice.com/forums/121579-visual-studio. Microsoft engineers will evaluate them seriously.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • LabVIEW tag control question

    I have create a tag control and add several page in the tag control.
    I want to disable one of the page in tag control by property node.
    However, it disable the tag control and also all pages.
    Is there any method to disable one of the page in tag control?

    I assume you are asking about Tab Control
    If yes, look at the attached vi to make enable/disable a particular pane in a Tab control or make it visible/invisible
    Regards,
    Dev
    Message Edited by devchander on 06-04-2007 06:30 AM
    Message Edited by devchander on 06-04-2007 06:31 AM
    Attachments:
    Tab Properties.vi ‏12 KB

  • Tags Plugin Incompatible With Shuttle Item

    I installed the Learning Library (http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r41/inst_pkgapp/inst_pkgapp.htm) and found that the Tag plugin is incompatible with the Shuttle Item. Page 17 contains both and the shuttle item does not function. It will not shuttle any items. If I remove disable the Tags item (which is of Tags Plugin type) the shuttle works as expected. I looked around for information on this plugin but did not locate it on http://www.apex-plugin.com/search-plugin-directory. I'd like to keep if but I definitely need the shuttle item working so I may just go with a text item for the Tags field.
    Any ideas?
    Thanks,
    Jason

    This error should only appear when you use a list-item with the list-type set to combobox. A combobox in forms is a listitem where you can also enter your own text. If you nly need a dropdown list, set the liststyle to poplist. This works also without patching. if you really need the combobox, patch.

  • Disable-warning statement in weblogic-ejb-jar.xml

    I'm having problems with the <disable-warning> statement in the weblogic-ejb-jar.xml file. I havn't been able to find documentation on exactly where the statment is supposed to be placed, as all sites just say to include the statement in your weblogic-ejb-jar.xml file. I found a working solution where I placed the statement after declaring all the weblogic-enterprise-bean and right before the closing </weblogic-ejb-jar> statment.
    Now the problem is that I have included a <transaction-isolation> block and weblogic complains about my disable warning statment.
    Does anyone know the proper location for the <disable-warning> statement?
    here is the format that was working before:
    </weblogic-enterprise-bean>
         <disable-warning>BEA-010054</disable-warning>
    </weblogic-ejb-jar> now I have:
    </weblogic-enterprise-bean>
       <transaction-isolation>
              <isolation-level>TRANSACTION_READ_COMMITTED</isolation-level>
              <method>
              </method>
       </transaction-isolation>
       <disable-warning>BEA-010054</disable-warning>
    </weblogic-ejb-jar>I have tried putting the disable warning before the transaction-isolation and after and weblogic complains about both.
    Any Ideas?
    Thanks for your time.

    I have tried putting the disable warning beforethe
    transaction-isolation and after and weblogic
    complains about both.
    Any Ideas?It would be a good idea to post the message weblogic
    is displaying. There are a couple of things you could
    check:
    * As per the documentation, the <disable-warning> tag
    was added in 8.1. Check if you are using the correct
    DTD for Weblogic 8.1 (and the version of Weblogic
    is 8.1 or higher
    * As per the DTD, the <disable-warning> comes after
    the <transaction-isolation>
    <!ELEMENT weblogic-ejb-jar (description?,
    weblogic-enterprise-bean*,
    security-role-assignment*,
    run-as-role-assignment*,
    security-permission?,
    transaction-isolation*,
    idempotent-methods?,
    enable-bean-class-redeploy?,
    disable-warning*)
    ke sure you maintain this order of elements within
    <weblogic-ejb-jar>
    Refer to
    http://e-docs.bea.com/wls/docs81/ejb/DDreference-ejb-j
    ar.htmlYep, it was pointing to an older dtd. Thank you!

  • Disable CSS when we use TABLE

    Hi,
    I use GOLIVE CS2. But when we create a TABLE object, HTML structure is built with CSS tags.
    About that point, I prefer GOLIVE 9 which creates TABLE object without CSS.
    Do you know how to disable CSS tags with TABLE object ?
    Thank you.

    Here are some useful pointers how to avoid GL9's "auto-css":
    There's also Oli's free DeforceCSS extension which addresses the issue
    partly, I'm not sure about tables though.
    Cheers Martin

  • How to hide Hyperlink in APex?

    Hi All,
    I have created a region with Hyperlink as shown below
    1. Who:{a href="javascript:LeadhideOrShowFun()"> <font size="2" color="#FBB117"}Add another participant? </font></a>
    2. The point one should be visible while creating a new form, but when we redirect to update process then i need to disable "anchor tag".
    3. The process i am uisng for redrecting the screen using dialog box.
    4. If we observe my below code i am redirecting to the same page using documnet.href concept.
    5. So when they clik on "Enter" key button then it will be redirect to document.location.href='f?p=&APP_ID.:1:&SESSION.::&DEBUG.:1:P1_CHECK:N';
    by clearing the session.
    6. But when they click on "View" button i will be redirecting to the same page but having concepts what they selected already by uisng
    document.location.href='f?p=&APP_ID.:1:&SESSION.';
    7. During this peocess i need to hide anchor tag so that the screen is mainly used for update process? How to achieve this.
    <script>
         $(function() {
              $( "#dialog:ui-dialog" ).dialog( "destroy" );
    $( "#dialog-confirm" ).dialog({ autoOpen: false })     
              $( "#dialog-confirm" ).dialog({
                   resizable: false,
                   height:50,
                   modal: true,
                   buttons: {
                        "Enter Key to continue": function() {
                             $( this ).dialog( "close" );
    document.location.href='f?p=&APP_ID.:1:&SESSION.::&DEBUG.:1:P1_CHECK:N';
    //document.location.href='f?p=&APP_ID.:1:&SESSION.::NO:P1_CHECK:N';
    //doSubmit('P6_SERACH');
                        View: function() {
                             $( this ).dialog( "close" );
    document.location.href='f?p=&APP_ID.:1:&SESSION.';
         </script>
    <div class="demo">
    <div id="dialog-confirm" title="Form &P1_DISPLAY_EID. has been successfully updated">
    </div>
    Thanks,
    Anoo.

    Daniel,
    See it working here:
    http://apex.oracle.com/pls/otn/f?p=31517:238
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for

  • J2EE shutdown, reboot - rfc, r2startup problem

    Hi, I have install J2EE Engine 6.20 on a R/3 Enterprise 4.70 extension set 2.00 central instance. I tried to start, restart and stop j2ee from smicm. "End process - with restart": works fine, after that "End process - without restart": ok. "Restart -

  • Can I use Pages with more than one user?

    Hi, I recently purchased Pages and want to be able to use it with two different users (one personal, one business). Is this possible? If so, how? I have no problem using it with the user I purchased it with, but my business user does not the option f

  • Exporting list to excel..order changes?

    hello. thanks for the time and effort. i'm a SharePoint 2013 noob. so forgive the simple question.  we moved a team site from SharePoint 2010 to SharePoint 2013 and now a user is complaining that when they export to excel the list they see in IE the

  • I can't shift + scroll at the same time! HELP!

    I have a windows 8 , dell laptop. I have a Microsoft wireless 3500 mouse. I can't Shift+scroll at the same time and it's annoying when I play games that I have to shift+scroll which is basically the game I play all the time. Please help!

  • How do you delete records from table with data in a select option

    how do you delete records from table with relevant to data in a select option..how to write coding