Welcome to TalkGraphics.com
Results 1 to 2 of 2

Thread: Floating Object

  1. #1
    Join Date
    Dec 2009
    Posts
    14

    Default Floating Object

    I like the transparent object and wonderedif there was a way, using layers, to make a semi-transparent feature float on a page (draggable I mean). Any pointers welcome.

  2. #2

    Default Re: Floating Object

    I have found a script from this website which can be used within Xara's placeholder position. You'll need to download this javascript and place it into the same folder as the html file along with the image being used as the floating object. Then it's just a case of copying the following javascript code into the object's placeholder position and copying the original image object into the folder as well.

    PHP Code:
    <script type="text/javascript" src="dom-drag.js"></script>

    <img id="example" src="your_image_name_here.gif" style="position: relative" />

    <script type="text/javascript">
    Drag.init(document.getElementById("example"));
    </script> 
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	drag lips folder view 1.png 
Views:	118 
Size:	12.1 KB 
ID:	70907   Click image for larger version. 

Name:	drag lips folder view 2.png 
Views:	115 
Size:	14.8 KB 
ID:	70908  

    Attached Files Attached Files

 

 

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
  •