• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Dynamic Attributes

You've already seen the effects of using a dynamic HTML attribute to place an image on a page. The image src attribute changed for each row in the database. But how far can you take this? You might be surprised to know that any attribute for an object can be set dynamically. This lets you create a document that is almost entirely laid out according to entries in a database.

Before moving on, let's take a look at one more method of laying out a page, this time using repeating layers. Suppose that you want to lay out a page in a manner that is completely nonlinear. In fact, we have five pictures, so how about laying out those pictures in a pentagon shape?


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint