Results 1 to 4 of 4

Thread: How to set the Dynamic positioning of an image in JSP

  1. #1
    Join Date
    Nov 2008
    Posts
    240

    How to set the Dynamic positioning of an image in JSP

    I have a page that is going to group images. I have two divs, one showing all the images, and one that's empty (on the left). When the call is being made, An GIF image 'Loading.gif', will be displayed till the datatable re-renders. Upon rerender the image will be hidden. And because of this reason Dynamic positioning of an image does not set properly. Any suggestions.

  2. #2
    Join Date
    Feb 2009
    Posts
    39

    Re: How to set the Dynamic positioning of an image in JSP

    Web pages are pages of text - or so they were when first introduced. Then Netscape introduced the <IMG> tag, and since then we have been on a slippery slope leading us screaming and kicking into Dynamic HTML (DHTML). hen you're creating CSSP-based layers, the only real difference from what you've seen so far in this chapter is a matter of convention rather than a matter of rule.

  3. #3
    Join Date
    Dec 2008
    Posts
    183

    Re: How to set the Dynamic positioning of an image in JSP

    There are two ways to position a block of content: Netscape's <LAYER> tag or Cascading Style Sheet Positioning (CSSP). If you call a javascript function for onfocus, have that function get the x,y position of the current textbox and set the y-position of your help text div to the y-position of your form field. Although Netscape's proprietary tag is simple to use, it is only supported within Netscape.

  4. #4
    Join Date
    Jan 2009
    Posts
    140

    Re: How to set the Dynamic positioning of an image in JSP

    Typically, a block of content is contained within <DIV> tags. Imagine, then, that you would like to create a small block of content, you must tell the <DIV> block to use a style sheet. As a simple demonstration, you can take a single object, set its positioning, and use a simple JavaScript to change that position dynamically, thus animating the object in the browser window. A style sheet, as you may know, defines display characteristics. Style sheets can either be pre-defined, and applied to tags as style sheet classes, or defined on-the-fly.

Similar Threads

  1. Utility for mouse cursor positioning
    By Diamond! in forum Windows Software
    Replies: 3
    Last Post: 15-10-2011, 07:24 AM
  2. Nokia E72 GPS Positioning Method
    By Manish M. Singh in forum Portable Devices
    Replies: 3
    Last Post: 27-11-2010, 01:29 AM
  3. Css positioning a div at bottom of window
    By kirti in forum Software Development
    Replies: 4
    Last Post: 05-11-2009, 09:34 AM
  4. How to get Image Positioning In CSS
    By spuff in forum Software Development
    Replies: 3
    Last Post: 21-09-2009, 10:26 AM
  5. Image contrasts - dynamic
    By The_D in forum Customize Desktop
    Replies: 3
    Last Post: 27-10-2008, 06:03 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,899,758.81334 seconds with 16 queries