Can you create a button from apDiv in CS4

can I create a button action for in the code view
<div id="ap Div3"></div>
I know how to link text that I place within the div id to a html document but I want to be able to draw an AP DIV from the layout and have it contain an image or color, then when hovering over have the background change to a color, then be able to hit anywhere whithin the <div id="ap Div3"></div> area and have it change to another color.
I am very comfortable with flash and am having a dificult time understanding the rigid layout of dreamweaver.
thanks in advance

I get the impression you are new to DW.  With that said, I think it would be a very good idea for you to go over to http://www.w3schools.com and get familiar with html and css.
I dont believe you can have an apdiv as a link (I may be wrong, but hopefully at the end of this  it will not be relevant), however you can have a "button" or other graphic as a link. Here is the code.
<a href="http://www.yourlink.com"><img src="folder/file.ext" width="200" height="200" /></a>
This will create a link on an image.
If you want the image or colors to change, you will have to go and set rules for your links.  Put the following in your editor (DW Code View) and adjust as you like.
a:link {
    color: #333333;
a:visited {
    color: #FFFFFF;
a:hover {
    color: #CCCCCC;
    background-color: #333333;
a:active {
    color: #333333;
Lastly, apdivs, in particular for someone new to DW and html can be a world of pain.  Trying to use them as a layout object can be very frustrating, because once you have tweaked and tweaked them, you look at your layout on a different machine, and chances are it looks nothing like what you had.
HTH
Gary

Similar Messages

  • Can you create a button that will go to multiple key frames?

    Hi, I am trying to make a rpg style character select interface.  What i am trying to do is very similar to the picture below. How do you create a button like the stats, gear, and supplies that will each show a different image or text depending on which character you choose. If noone have played this marvel facebook game before, if you choose for instance Ironman, then the buttons on the right change to stats, bio, and gear. Each character will show a different bio when the bio button is clicked. Do i create a different screen for each character with the same button layout in the same place? I think i just answered my own question but i want to make sure that is possible. Should each character portrait, stats, bio, and gear be on its own layer and have the buttons go to those specific keyframes? thanks

    While you could create a different screen for each, a better way to do this is via some form of database.  The buttons cause functions to be executed and the functions utilize data resources based on the selections that are established.
    So if you pick a particular character, a variable is a assigned a value that indicates that.  That variable is then utilized to extract the data associated with the character and to build the screen elements related to the options for that character.

  • Can you create a button that adds specific text to a form field?

    Hi,
    I was wondering if it was possible to create a button in a PDF that, when clicked, adds specific text to a form field?
    I am trying to make a product catalogue where you click on a product button to add the product name or code to a form field.
    Each product in the catalogue will have a button and the more you click the more is added to the form field(s).
    Then when you have finished adding products to the form field(s) I want to be able to save and email the entire PDF as an order form.
    Any thoughts would be appreciated!
    Cheers,
    Jim

    Yes, it's possible. The most simple version of such a script will be something like this (used as the button's MouseUp event):
    var v = this.getField("Products");
    if (f.value!="")
         f.value += ", ";
    f.value += "Product1";

  • Can you create an object from a string

    I have been working on creating a dynamic form, creating the
    form items from an xml file. I am getting very close to conquering
    this task. I will share it when it's complete.
    However, I am stuck at the moment trying to create an object
    from a string. For example, if the xml item is an HBox I want to
    create an HBox. Like this: parentObject = new arrayOfFormItems[
    index ]..type ()
    This isn't working. First, is this possible using some syntax
    I am unaware of in Flex? I don't want to use a large if or case
    statement if possible.
    Thanks in advance for your help!

    Thank you very much. Indeed that did solve the one problem. I
    missed the casting as a Display Object. That is awesome!
    I do still however, have to instantiate one of every item I
    want to dynamically create or I get the following error when I try
    to create a dynamic object that I have not instantiated before.
    ReferenceError: Error #1065: Variable HBox is not defined.
    at global/flash.utils::getDefinitionByName()
    at MyForm/buildForm()
    at DynamicForm/::onComplete()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    I read that you have no choice but to instantiate one of each
    type to force the linker to link the code for that class into the
    .swf. Unless you know another way to force it.
    This is what I have in my Application mxml to get it to work:
    <mx:HBox>
    <mx:Text visible="false"/>
    <mx:TextArea visible="false"/>
    <mx:TextInput visible="false"/>
    <mx:DateField visible="false"/>
    </mx:HBox>
    And those are the types I'm using to test with. . . I will
    have to add all the others I want to use as well . . .

  • How can you create a swatch from a jpeg in Illustrator CS4?

    I am trying to create a jpeg image into a swatch in Illustrator CS4. In previous versions you could simply drag the image into the swatches toolbar and it would convert it automatically. Now when I do that nothing happens. When I click on new swatch it creates a colour swatch instead of the actual image itself.

    When you say you would drag the image itself into the Swatch Palette and it would show the image itself? How would then use this swatch? Can you give an example of what you would apply a jpeg to as a swatch? The only palette that I can think of off the top of my head that you can drag a jpeg into and have the icon appear as the jpeg is the Symbols Palette. Is is possible that you were using the Symbols Palette in the past and not the Swatch Palette?

  • How can you create a jpeg from video in imovie 13?

    In imovie11 you could hit share, convert using quicktime, and then select mov to jpeg or gif.  that option is not available in imovie13?  Anyone know how to create a jpeg or gif in the new imovie?

    When you say you would drag the image itself into the Swatch Palette and it would show the image itself? How would then use this swatch? Can you give an example of what you would apply a jpeg to as a swatch? The only palette that I can think of off the top of my head that you can drag a jpeg into and have the icon appear as the jpeg is the Symbols Palette. Is is possible that you were using the Symbols Palette in the past and not the Swatch Palette?

  • How can you create a button master that can be unlocked but where edits to the master will affect all buttons?

    I'm creating a course calendar (January - December) for an organization and courses are repeated several times throughout the year. I've been asked to create this as an interactive pdf rather than as an interactive Indesign document that can be viewed via a browser, so I'm unable to use multi-state objects
    Anyway, I've created button masters for such buttons such as previous page/next page, course index and search on my master pages, so that's all fine and dandy as I don't need to move these elements. The way I have set up the calendar is that you click on the course name (a button) and a popup (also a button) shows up with a course description - I want to be able to move these popups so that they are the general vicinity of the course name button and not just floating about in the centre of the calendar.
    However, because course descriptions or what is offered in the course change frequently and I am expected to keep the calendar up to date, it doesn't seem efficient to have to manually change every description for a course popup that shows up several times throughout the year or even several times on a month. The issue is that even if I create the popups on the master page, as soon as I unlock them on my month pages and move them to where I want them to be...they'll no longer be affected by changes to the master.
    Is there some sort of function like in html/CSS where you can assign a class to a button or something? Or it is something that Indesign isn't capable of and I will just have to do it manually and try to be careful not to miss any courses when they are updated?
    Any help is appreciated!

    While you could create a different screen for each, a better way to do this is via some form of database.  The buttons cause functions to be executed and the functions utilize data resources based on the selections that are established.
    So if you pick a particular character, a variable is a assigned a value that indicates that.  That variable is then utilized to extract the data associated with the character and to build the screen elements related to the options for that character.

  • Can you create jpeg images from footage in a sequence?

    Hi,
    I want to save images I created as freeze frames from a video I shot; is that possible? If so, how is this done?
    Many thanks.

    Hi,
    Park the playhead in front of you desired frame then go to Export>Using QT conversion>change format to Still Image >then click the option button and choose JPEG.
    G.

  • How can you create a spoolfile from a program where have Error Message?

    I have a situation where I need a report to come out  - even if I have an Error or Abort Message.
    I need the report so that i can email the users in a second step of a Job.
    We want the CANELLED to show in the JOB queue but when that happens by doing a message with the error it does not output any spool file.
    The code is simple:
       CONCATENATE c_errors
                    c_error_645
            INTO  z_msg_line  SEPARATED BY space.
        WRITE z_msg_line TO z_output_line.
        WRITE:  z_output_line.
        lv_errors = 'X'.
        MESSAGE ID 'ZX' TYPE 'E' NUMBER '645'.
    The job stops, shows CANCELLED but not output to the spool file.
    If I change message type to I for imfomation I get the spoolfile but the JOB queue shows COMPLETED so a Basis person will not catch the Cancelled job.
    Thanks.

    Does the email processing have to occur within the same job?  Why not establish a polling process for cancelled jobs where you control the job name(s) to poll for and the linked users to email?  When you find a canceled job you can read the job log messages (assuming you have logged your errors using 'S' messages and then used a final 'E' message to stop the job) using function BP_JOBLOG_READ.  You could establish a spool from that (and attach it) or just embed the messages in the email body itself.
    I'm not sure what your scenario is though - I would separate application errors from technical errors in your error notification process, i.e., handle error notification/emailing within your programs themselves and avoid abending jobs if possible.  Are these Basis-handled errors or user-handled errors that you're talking about?
    Edited by: Brad Bohn on Aug 19, 2010 3:51 PM

  • Can you create a book from the Aperture free trial?

    I have created a book on the Aperture free trial and can't seem to buy it. Is there any way I can or can I not buy a book off of the Aperture free trial?

    The free trial is a fully functioning version of Aperture so you should be able to buy a book with it. What problems are you having?

  • Can you create a button that allows users to save content?

    I am trying to come up with a way that allows a user to save their certificate (created using the widget in Captivate 4) if they don't immediately have access to a printer. Is there some code I could attach to a button?

    What about printing to a pdf-document? There are a lot of free PDF-writers around.
    Lilybiri

  • Can you create a .ics file from entries in a PDF?

    Hi,
    I'm wondering if anyone can help me: Can you create a .ics file from entries in PDF?
    Example:
    I'm wanting people to be able to choose a number of dates for some events within a PDF, then click a button that will then create a (or number of) .ics files so they can add those dates to the calendar of their choice. Is this possible?
    Thanks

    Using the solution supplied by Leonia, and cited by Keith, you can do the same thing (flopping the Curve profiles) in LightRoom. So, it makes sense. Though I didn't know know it worked for Color Negatives.
    A friend of mine with a Nikon Coolscan is going to scan nearly 150 B&W rolls of 35mm negatives for me, and I want to import them all into Aperture, naming and keywording as I go. The objective is, of course, to have the convenience of a diigtal library. But also to have some made into large prints for framing.

  • Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?

    Message title says it: Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?
    I can't find anything in the Knowledge Base that says these two options no longer work or still do.
    I do not have a system capable of running Lion, but I need to know the answer nonetheless.

    Gee, I don't know: "paste attachments mail Lion"? ;-)
    One further question, if I may: in Panther (which is where I've aggregated nearly 7 years of mail), if you copy more than one file in the Finder, switch to Mail, and paste the files into a new message, only the file names paste in. If you copy one file and paste it into a Mail message, you get the file, not just the name. Is that still true, or has that (IMHO) bug been fixed since 10.3.9?

  • How can you create a writable PDF document from a PPT presentation ?

    How can you create a writable PDF document from a PPT presentation ? Upper part with the image , lower part with a free space in order to take notes for students during presentation or course.
    Thanks.
    B

    You can make a PDF file out of you notes and handouts but using the Adobe PDF printer.
    Open your PowerPoint Document then go to “File” “Print”
    Select ‘Adobe PDF” Printer
    Under slides, select which way you want to print. Note it will not print to a printer but to a PDF file.
    After then go into printer Properties and Setup PDF properties, do the following: (see second image below)
    Default: PDF/A 1-b
    Adobe Security: none (change as needed)
    Adobe Output folder: Prompt for Adobe file name
    Adobe Page size: Letter (change as needed)
    Check the following check boxes
    View Adobe PDf Results,
    Add Document Information,
    Rely on system fonts only,
    Delete Log files for successful jobs.
    Select OK
    A pop will ask you where you want to save the document. The file extension should be PDF. After giving the file name select okay and the file should popup as a PDF. Down side is if you want to speaker notes included then you will have to do another file, like wise with just screen shots then combine into one PDF document.
    I used Acrobat IX Pro. So to do this you need Acrobat IX or X Pro.
    Hope this will help.
    Tiger26

  • How can you create a playlist with music and music video and play those from same playlist through Apple TV?

    How can you create a playlist on Ipod touch with music and music video,  and play those from same playlist through Apple TV?  I can download, create a playlist with both music and music video, stream that through the Apple TV with no problem.  The sound and the information show up on the TV, but when it gets to a music video, it only shows the information and "artwork".
    I also have a video playlist - videos play fine through the Apple TV, but will not shuffle through all videos - continues to repeat the same one.  I have most definitely selected shuffle in both locations - from the playlist and on the ipod video screen while video is playing.

    I finally got it... had to sync the photos with the music in iMovie, arrange the voiceover in GarageBand then export to iTunes, and then I was able to put it all together in iMovie and burn in iDVD... had a few glitches along the way but finally finished : )
    Message was edited by: jpewald

Maybe you are looking for

  • The volume for "017_17.JPG" cannot be found

    this keeps showing up on my Iphoto when I try to look at pictures and now it won't go away!! Help!!

  • Need tips on how to use "Search" in Mail

    Didn't get a response in the mail forum, http://discussions.apple.com/thread.jspa?threadID=349304&tstart=0

  • Jsp Page session vaiable to java class and vise versa

    Hi to all, I am new to jsp, i have to programs, one jsp page and another java class. in jsp page i get the user data from html form and put the id in session. here i have to call the session vaiable to my java class where it (variable)initialize a fi

  • You can't perform price determination /You must first allow price determina

    Hi Friends, While performing the t code CKMH (Single level price determination) I am putting plant, period and fiscal year but when i am going to execute I m getting the following error. 1.you cannot perform price determination in period 01/2009. whe

  • Over delivery limit

    Hi,     I have set up overdelivery limit 10% in customer material info rerecord .     When I created delivery & changed del qty system allowed greater than 10% .     I am on ECC 6. What might be the reason or do I missing some settings. Thanks