[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
www.dhtmlgoodies.com • View topic - Calendar Position Problem in Scrollable DIV
Advertisement

Calendar Position Problem in Scrollable DIV

Moderators: Calcifer, slothy

Calendar Position Problem in Scrollable DIV

Postby sravkum » Thu Nov 30, 2006 11:36 am

Hello,

The Calendar was simply superb..... and am trying to use it in one of my personal project. But facing some problems, tried to fix it but - some how I could not get that done. Can you help us in this regards?

here is the piece of html code where am trying to include your calendar.....

<DIV style="overflow:auto; height:150px;"><br>Here<br> I will <br>give <br>some <br>content where <br>I <br>will <br>have <br>more content <br>to <br>scroll <br>this DIV <br>either <br>in horizontal <br>or <br>in <br>vertical <br>wise. Think <br>that this <br>DIV <br>is scrollable and check<br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br>
<input type=text><input type="button" onclick="YOUR REGULAR CODE for calendar to popup">
</DIV>

So when I scrolled in this DIV to pick a date - onclick of this button the calendar is poping up somewhere at the bottom of the page.

Would be thankful to you if you can comeup with the solution for this.....

awaiting reply.....
Thanks in advance
sravkum
 
Posts: 4
Joined: Thu Nov 30, 2006 10:40 am

Postby Batalf » Thu Nov 30, 2006 12:41 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Got it

Postby sravkum » Fri Dec 01, 2006 6:16 am

sravkum
 
Posts: 4
Joined: Thu Nov 30, 2006 10:40 am

DIV Scroll Calendar Position Problem

Postby sravkum » Tue Dec 19, 2006 6:59 am

sravkum
 
Posts: 4
Joined: Thu Nov 30, 2006 10:40 am

Postby thehitman » Mon Feb 12, 2007 6:41 pm

thehitman
 
Posts: 6
Joined: Fri Feb 02, 2007 5:29 pm

Postby Batalf » Mon Feb 12, 2007 6:46 pm

Hi

Do you have a link with an empty anchor which you click on?

something like:

<a href="#" onclick="displayCalendar(document.forms[0].theDate,'yyyy/mm/dd',this)">Cal</a>

If yes, put in return false at the end:

<a href="#" onclick="displayCalendar(document.forms[0].theDate,'yyyy/mm/dd',this);return false">Cal</a>
Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby thehitman » Mon Feb 12, 2007 7:14 pm

Sorry my fault. It has nothing to do with the script. I used an <a href="#" to initiate the calendar. Fixed it with <a hfef="#empty-anchor"
thehitman
 
Posts: 6
Joined: Fri Feb 02, 2007 5:29 pm


Return to Calendar script questions

Who is online

Users browsing this forum: No registered users and 6 guests

cron