dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: Display Banner in DIV control

  1. #1
    Join Date
    Aug 2007
    Posts
    7

    Display Banner in DIV control

    Hi,
    I'm having a few DIV controls on my page in which I need to display a banner (html files) in each.
    currently, I'm doing this as follows:


    Code:
    var rightBannerDiv = document.getElementById("rightBannerDiv"); 
    
    rightBannerDiv.style.backgroundImage = 'url(' blabla.html ')'; }


    but nothing is displayed.
    Could anyone tell me how I shall do that?
    Last edited by peace2007; 09-25-2007 at 07:52 AM. Reason: mistype

Similar Threads

  1. Scrollbars in IE display in the DIV tag
    By Billkamm in forum Web
    Replies: 0
    Last Post: 04-20-2006, 01:58 PM
  2. Image Edit Control
    By Sinni in forum VB Classic
    Replies: 1
    Last Post: 03-06-2003, 05:50 PM
  3. Passing a control array to a method
    By Willy Van den Driessche in forum VB Classic
    Replies: 6
    Last Post: 09-24-2001, 01:44 PM
  4. Replies: 2
    Last Post: 04-09-2001, 02:34 AM
  5. Replies: 0
    Last Post: 03-15-2000, 07:10 PM

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center