• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

to make a layer appear upon press a link

 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to appear currect weather conditions for my city, but not have space in the page, well I decided to make a layer appear[floating-no take space-appear above other content] upon press a link and disappears after press close on layer, well 1)how make the layer appear above other content ?

2)this layer may confg to can move upon drag it...how (this is the default?)?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Use CSS absolute positioning.

2) Dragging is complicated. I'd use a library like jQuery UI to accomplish it. (At which point you can just use a jQuery UI dialog widget for the whole thing.)
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IN PAGE
http://www.paphoscarhire.mobi/Reciprocals/ru/36/puzzle.html
When you reduce width of browser window, right layer/AP goes below first layer/AP, what to do to remain static and no move+rather>has hidden parts (the second layer), when I do this action???
 
reply
    Bookmark Topic Watch Topic
  • New Topic