Chatbox creation problem

Ads
 

Chatbox creation problem

i have one chat box in my web site and i assigned fixed position to that div.that is workin in mozill but it is not working in ie . thank you`print

("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Velaro Live Help</title>

    <script type='text/javascript' src='http://code.jquery.com/jquery-1.5.js'></script>

    <script src="js/chat.js" type="text/javascript"></script>

    <script src="js/jquery-1.3.2.js" type="text/javascript"></script>

    <link type="text/css" rel="stylesheet" media="all" href="css/chat.css" />
    <style type="text/css">
        .divPage
        {
            width: 300px;
            height: 200px;
        }
    </style>
    <style type='text/css'>
        #chat-box
        {
            position: fixed;
            bottom: -100px;
            background: #ccc;
        }
    </style>

    <script type='text/javascript'>
        $(document).ready(function() {
            $('#chat-box').animate({ bottom: '50' });
        });
    </script>

    <!--<script type="text/javascript">

        $(document).ready(function() {

        $('#chatbox').load('Default.aspx');

        });    

    </script>-->
    <style type="text/css">
        div.chat1
        {
            position: fixed;
            bottom: 1px;
            right: 50px;
            width: 230px;
            height: 250px;
            border: 1px solid black;
            scrolling: auto;
        }
        div.chat2
        {
            position: fixed;
            bottom: 1px;
            right: 50px;
            width: 230px;
            height: 250px;
            border: 1px solid black;
            scrolling: auto;
        }
        body
        {
            background: url(foo) fixed;
        }
    </style>

    <script language="JavaScript">
        function showhide(id, visibility) {
            document.getElementById(id).style.display = visibility;
        }

    </script>

</head>
<body>
    <a href='#' onclick="showhide('LoadPage1', 'inline');">a div using javascript.</a>
    <a href='#' onclick="showhide('LoadPage2', 'inline');">a div using javascript.</a>
    <div id="LoadPage1" class="divPage" style="display: none;">
        <div class="chat1" id="chat1">
            <div class="chatboxhead">
                <div class="chatboxtitle">
                    chatboxtitle</div>
                <div class="chatboxoptions">
                    <a href="javascript:void(0)" onclick="javascript:toggleChatBoxGrowth(\''+chatboxtitle+'\')">
                        -</a> <a href="javascript:void(0)" onclick="showhide('LoadPage1', 'none');">X</a></div>
                <br clear="all" />
            </div>
            <!--<div class="chatboxcontent">
            </div>-->
            <div class="chatboxinput">
                <textarea class="chatboxtextarea" onkeydown="javascript:return checkChatBoxInputKey(event,this,\''+chatboxtitle+'\');"></textarea>
            </div>
        </div>
    </div>
    <div id="LoadPage2" class="divPage" style="display: none;">
        <div class="chat1" id="chat2">
            <div class="chatboxhead">
                <div class="chatboxtitle">
                    chatboxtitle</div>
                <div class="chatboxoptions">
                    <a href="javascript:void(0)" onclick="javascript:toggleChatBoxGrowth(\''+chatboxtitle+'\')">
                        -</a> <a href="javascript:void(0)" onclick="showhide('LoadPage2', 'none');">X</a></div>
                <br clear="all" />
            </div>
            <!--<div class="chatboxcontent">
            </div>-->
            <div class="chatboxinput">
                <textarea class="chatboxtextarea" onkeydown="javascript:return checkChatBoxInputKey(event,this,\''+chatboxtitle+'\');"></textarea>
            </div>
        </div>
    </div>
    <table height="1000px" width="100%">
        <tr>
            <td>
            </td>
        </tr>
    </table>
</body>
</html>");`
View Answers

Ads









Related Tutorials/Questions & Answers:
Chatbox creation problem
Chatbox creation problem  i have one chat box in my web site and i assigned fixed position to that div.that is workin in mozill but it is not working...; $(document).ready(function() { $('#chatbox').load('Default.aspx
Problem in EJB application creation - EJB
Problem in EJB application creation  Hi, I am new to EJB 3.0 technology and facing a couple of problems during the development of a simple application. 1. I would like to know how to associate an Entity bean class
Advertisements
Creation of xml
Creation of xml  Hi, I need to fetch details from my database and to create a xml file containing all those datas...My database datas are in key value pair... AppID Label Value 12345 Applicant name XXXX 12345 Masterno
Creation of methods
Creation of methods  I have a only single class and its having only one method ie., main method only.... i need to develop another method that is to reduce my switching code package org.bankPackage.one; import java.util.Scanner
Random Creation of password
Random Creation of password  Dear Sir I have created a form with some details in it.When clicking on the submit button it gives me a password... has my back end,....My database is Ms Access...my problem is that i am not able
How to: generic array creation
How to: generic array creation  How to: generic array creation
object creation - Subversion
object creation in Java  In how many ways we can create objects in Java
xml file creation in java
xml file creation in java  how to create xml file in java so that input should not be given from keyboard. and that file should be stored.   Please visit the following links: http://www.roseindia.net/tutorial/java/xml
Session creation and tracking
Session creation and tracking  1.Implement the information persistence across servlet destroy or servlet container start/stop. Write a servlet such that when it is stopped (either by container shutdown or servlet stop
bean creation exception
bean creation exception  hi i am getting exception while running simple spring ioc program Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class
forums creation using spring with hibernate?
forums creation using spring with hibernate?  how to write mandatory fields with validations in forms using spring with hibernate? give me detailed example
problem in onlinetest...
problem in onlinetest...  hi, my code getting the problem is ,when user leave a question then the server puts error... pls help me
ModuleNotFoundError: No module named 'music-album-creation'
ModuleNotFoundError: No module named 'music-album-creation'  Hi...: No module named 'music-album-creation' How to remove the ModuleNotFoundError: No module named 'music-album-creation' error? Thanks   Hi
ModuleNotFoundError: No module named 'music-album-creation'
ModuleNotFoundError: No module named 'music-album-creation'  Hi...: No module named 'music-album-creation' How to remove the ModuleNotFoundError: No module named 'music-album-creation' error? Thanks   Hi
ModuleNotFoundError: No module named 'music-album-creation'
ModuleNotFoundError: No module named 'music-album-creation'  Hi...: No module named 'music-album-creation' How to remove the ModuleNotFoundError: No module named 'music-album-creation' error? Thanks   Hi
ModuleNotFoundError: No module named 'music-album-creation'
ModuleNotFoundError: No module named 'music-album-creation'  Hi...: No module named 'music-album-creation' How to remove the ModuleNotFoundError: No module named 'music-album-creation' error? Thanks   Hi
ModuleNotFoundError: No module named 'xseed-max-box-creation'
ModuleNotFoundError: No module named 'xseed-max-box-creation'  Hi...: No module named 'xseed-max-box-creation' How to remove the ModuleNotFoundError: No module named 'xseed-max-box-creation' error? Thanks   Hi
ModuleNotFoundError: No module named 'xseed-minicampus-creation'
ModuleNotFoundError: No module named 'xseed-minicampus-creation'  Hi...: No module named 'xseed-minicampus-creation' How to remove the ModuleNotFoundError: No module named 'xseed-minicampus-creation' error? Thanks  
dynamic creation of multiple drop-down menus
dynamic creation of multiple drop-down menus  can anybody plz help me in coding for dynamic creation of multiple drop-down menus in a webpage using ajax/js/html/css
javascript problem
javascript problem  hi guys My problem is that I am using radio button for yes or no but i want to do that if I press yes button then enter... enter please help me this problem
problem on strings
problem on strings  in string1 "123456 ABC DEF...",IN string2 "raveen". iwant to add string2 after 123456 in the first string based on index number.i need logic for this with out using StringBuffer concept. Thanks in advanace
Problem with loginbean.jsp
Problem with loginbean.jsp  http://www.roseindia.net/jsp/loginbean.shtml - I am getting an error in loginbean.jsp.There is some error regarding .What is hello in this? Also in this example how
compilation problem
compilation problem  struts 2.0 : i have included all 5 jars in lib folder,but its giving compilation problem that package open symphony doesnot... havenot set the build path.if this is the problem then tell me how to set
Problem with cookies
Problem with cookies  Hello All, i need jsp code for RememberMe module of login. i am facing problem with cookies. so please if any one could guide me please help and provide mme the exact code.   Please visit
compilation problem
compilation problem  struts 2.0 : i have included all 5 jars in lib folder,but its giving compilation problem that package open symphony doesnot... havenot set the build path.if this is the problem then tell me how to set
problem with package
problem with package  Dear sir, i have created one java file with package com.net; and i compiled the program.it showing the .class file in " net" folder.The problem is i want to use that .class file in some other
Creation of MultiThreads
Creation of Multiple Threads       Like creation of a single thread, You can also create more than one thread (multithreads) in a program using class Thread
Intranet Website creation - plz help me
Intranet Website creation - plz help me   hi.. I have assign with the intranet website creation work..right from scratch to end..And honestly I know nothing about it.My domain is totally different .. can anybody pls help me
Oracle9i Problem
Oracle9i Problem  Hi I have a problem in Oracle9i .I have... the table what i created .But after closing the SQL+ ,the problem started.When i... .....;.it is saying no rows are selected.Why the problem arised in not getting the data that i
problem with session.invalidate()
problem with session.invalidate()  i stuck by a line with "session.invalidate()", after user logout also by pressing the back button of the browser user is still able to navigate to his home page and able to view the session
JScrollBar Problem...
JScrollBar Problem...  Hello Sir/mam, Can i know how to use JScrollBar to JFrame without adding any JPanel to it.. i want to add JScrollBar Directly to JFrame... Please Provide me Simple Example so i can understand

Ads