Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Ran
Chatbox creation problem
0 Answer(s)      2 years and 11 months ago
Posted in : Design concepts & design patterns


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>");`

Advertisement
View Answers

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
XSD Creation. - WebSevices
XSD Creation.  When I try to generate xsd from java object. It is generating XSD file finely. But the problem is it isgenerating XSD file elements in alphabetical order. can u please sujest me how can we do that one. I tried
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
object creation - Java Beginners
object creation  I need object creation in depth(with stack,pc registers).Any one can provide me if possible with video/audio
exe file creation - JDBC
exe file creation   hi i have done a project in java swings.project name is format migrator.means db migrator. now my aim is create EXE FILE for my project. pls do consider
creation of installer - Java Magazine
creation of installer  plz tell me how can be create installer for any developed application in java?  visit the following url izpack.org.. it will helps u
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
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
creation of database - SQL
creation of database  hi, where to and how to execute SQL queries?   Hi nanju mysql>CREATE DATABASE search; mysql> SHOW DATABASES; mysql> USE search mysql>create table Emp (fname VARCHAR(20
creation of a form - JSP-Servlet
creation of a form  how to create a question paper using JSP code  Hi Friend, We have taken radiobuttons in our application, you can take textarea, textfield etc. Create a table ans(ques,op1,op2,op3,op4,op5,ans
creation button using objective c
creation button using objective c  creation button using objective c
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
xml creation in java
xml creation in java  HI, I need a java program to create an xml file... therez a tutorial in your site to create an xml file at http://www.roseindia.net/xml/dom/CreatXMLFile.shtml but this isn't creating a file, its just
creation of table using a Java swing
creation of table using a Java swing  how to create a table dynamically in Java swing
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
PDF creation in JAVA - JSP-Servlet
PDF creation in JAVA  HI! Good morning.... I want to create pdf file and i want to write something into pdf file....before creation. Upto creation i have done but how to write data into pdf. File Writer is not working
cache creation in java - Java Beginners
cache creation in java  Hi All, I am planing to create cache in my web application. please send me the some sample code to create cache by using org.apache.oro.utils package. please help me out. Thanks, mln15584
checkbox custom tag creation in jsf
checkbox custom tag creation in jsf  how to create check box custom tags with the following functionality: 1.there must be two checkboxes 2.when the first box is checked it must populate the names of bikes,when the second
Cache creation using java - Java Beginners
Cache creation using java  Hi All, I am developing a web application, I have a plan to use cache in that application. I used jsp caching.... how can I resolve my problem. Thanks in Advance mln15584
creation an dmanipulation of trees - Java Beginners
creation an dmanipulation of trees  Hi guys? pls i want to find out a hind aboout what these terms or phrases means, -To create and manipulate a Binary Search Tree -To use the Java API's Stack in conjunction with 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
Jar file creation - Swing AWT
show reference problem where to place jar files so that when i run proj
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
Creation of MultiThreads
Creation of MultiThreads       Like creation of a single thread, You can also create more than one thread (multithreads) in a program using class Thread or implementing interface
cookie creation without specifying the vaue - Java Beginners
cookie creation without specifying the vaue  how do we create cookies using java servlets by just specifying the name and not providing the value... problem plz give in details and source code and visit to : http
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
 

 

 

DMCA.com