www.webdeveloper.com
Results 1 to 6 of 6

Thread: Check box/radio button controls image opacity and text field

  1. #1
    Join Date
    Jul 2014
    Posts
    3

    Check box/radio button controls image opacity and text field

    This Javascript is a little over my head and I would really appreciate some help

    This is for Adobe Acrobat pro x, I am creating a form. I need the javascript to control this function. If I need to change to radio buttons that is also fine

    If "yes" check box is checked then "no" checkbox unchecks and a text field appears called "comments" and an image called "comments image1" goes from 0% opacity to 100% opacity.

    If the "no" check box is checked then the "yes" checkbox unchecks and the text field disappears and the image changes to 0% opacity.

    Thanks in advance.

  2. #2
    Join Date
    Oct 2013
    Posts
    483
    You may be better off asking your question(s) on the Adobe Acrobat forums:
    https://forums.adobe.com/community/a...obat_scripting

    Here's a tutorial on using JavaScript in Acrobat:
    https://forums.adobe.com/docs/DOC-1814

  3. #3
    Join Date
    Jul 2014
    Posts
    3
    Thanks Kevin I will try that instead

  4. #4
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,346
    CSS and Transitions may help.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  5. #5
    Join Date
    Oct 2013
    Posts
    483
    Quote Originally Posted by \\.\ View Post
    CSS and Transitions may help.
    From a completely ignorant standpoint:
    Can those be used in Acrobat?

  6. #6
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,346
    Depends, does the manual say that you can use CSS, HTML?

    I am just starting on a project where I have a PDF and I need to use Javascript and I also need to be able to position and style things in a PDF document, som of it relating to using CSS controlled by the server response.

    So I guess that I am going to find out.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles