Click here to Skip to main content
15,915,789 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Adding Text To An Image Pin
enhzflep26-Jun-11 16:23
enhzflep26-Jun-11 16:23 
AnswerRe: Adding Text To An Image Pin
thatraja24-Jun-11 8:45
professionalthatraja24-Jun-11 8:45 
GeneralRe: Adding Text To An Image Pin
#realJSOP30-Jun-11 1:36
professional#realJSOP30-Jun-11 1:36 
AnswerRe: Adding Text To An Image Pin
#realJSOP30-Jun-11 1:38
professional#realJSOP30-Jun-11 1:38 
GeneralRe: Adding Text To An Image Pin
Hetelek30-Jun-11 5:35
Hetelek30-Jun-11 5:35 
GeneralRe: Adding Text To An Image Pin
GenJerDan30-Jun-11 6:03
GenJerDan30-Jun-11 6:03 
AnswerRe: Adding Text To An Image Pin
John Y.5-Jul-11 8:11
John Y.5-Jul-11 8:11 
QuestionSome questions about WebService Pin
FariyEye24-Jun-11 5:30
FariyEye24-Jun-11 5:30 
AnswerRe: Some questions about WebService [modified] Pin
Rene Bustos27-Jul-11 21:08
Rene Bustos27-Jul-11 21:08 
Questionshared hosting vs cloud Pin
Jassim Rahma22-Jun-11 2:17
Jassim Rahma22-Jun-11 2:17 
AnswerRe: shared hosting vs cloud Pin
JV999923-Jun-11 3:58
professionalJV999923-Jun-11 3:58 
QuestionHow bypass this ? Pin
Vimalsoft(Pty) Ltd20-Jun-11 19:03
professionalVimalsoft(Pty) Ltd20-Jun-11 19:03 
QuestionDrop down menu Pin
Dave McCool20-Jun-11 5:53
Dave McCool20-Jun-11 5:53 
AnswerRe: Drop down menu Pin
enhzflep20-Jun-11 6:10
enhzflep20-Jun-11 6:10 
GeneralRe: Drop down menu Pin
Dave McCool22-Jun-11 3:38
Dave McCool22-Jun-11 3:38 
QuestionLive Streaming on Windows Server Pin
Jassim Rahma19-Jun-11 22:44
Jassim Rahma19-Jun-11 22:44 
QuestionLaunching a program with ActiveXObject Pin
musefan16-Jun-11 1:08
musefan16-Jun-11 1:08 
QuestionImage moves while doing show/hide Pin
Nitin198114-Jun-11 1:50
Nitin198114-Jun-11 1:50 
Hi
I'm trying to show/hide a panel through javascript by using below code. Problem is when I click on the arrow and hide the panel below, arrow moves from its position towards left. I've tried many things but can't have it still. Please help me to fix it.

Thanks in advance

--------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>

<script language="javascript">
function change()
{
var imgEle = document.getElementById('imgArrow');
var Panel1 = document.getElementById('<%= Panel1.ClientID %>');
if(Panel1.style.display == 'block')
{
Panel1.style.display='none';
imgEle.src = "images/lft-arw.gif";

}
else
{
Panel1.style.display='block';
imgEle.src = "images/drop-arw.gif";
}

}
</script>

</head>
<body>
<form id="form1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td colspan ="2">
</td>
</tr>
<tr>
<td style="width: 100px">
<table border="3" bordercolor="blue" cellpadding="0" cellspacing="0" style="width: 100px;text-align: center">
<tr>
<td style="width:98px" align="left">Price
</td>
<td style="width:2px;" align="right"><IMG id="imgArrow" SRC="images/drop-arw.gif" onclick="javascript:change();" /></td>
</tr>
<tr>
<td colspan="2" id="pnlParent">
<asp:Panel ID="Panel1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" style="width:100%;">
<tr>
<td>From&nbsp;</td>
<td><asp:textbox runat=server ID="txtFrom" />
</td>
</tr>
<tr>
<td>To&nbsp;</td>
<td><asp:textbox runat=server ID="txtTo" /></td>
</tr>
<tr>
<td colspan ="2" align="right">
<asp:Button Text="Search" runat="server" ID="cmd" />
</td>
</tr>

</table>
</asp:Panel>
</td>
</tr>
</table>
</td>

</tr>
</table>

</form>
</body>
</html>
Don't Quit

AnswerRe: Image moves while doing show/hide Pin
Shahriar Iqbal Chowdhury/Galib22-Jun-11 11:21
professionalShahriar Iqbal Chowdhury/Galib22-Jun-11 11:21 
QuestionStyling different states for an element Pin
Ali Al Omairi(Abu AlHassan)12-Jun-11 22:50
professionalAli Al Omairi(Abu AlHassan)12-Jun-11 22:50 
AnswerRe: Styling different states for an element Pin
Gerben Jongerius3-Aug-11 2:15
Gerben Jongerius3-Aug-11 2:15 
GeneralRe: Styling different states for an element Pin
Ali Al Omairi(Abu AlHassan)3-Aug-11 23:27
professionalAli Al Omairi(Abu AlHassan)3-Aug-11 23:27 
QuestionCss Query Pin
Benjamin Kadurkotta5-Jun-11 23:36
Benjamin Kadurkotta5-Jun-11 23:36 
AnswerRe: Css Query Pin
Shameel14-Jul-11 2:58
professionalShameel14-Jul-11 2:58 
QuestionFont looks different with same styles Pin
Phatinox5-Jun-11 23:27
Phatinox5-Jun-11 23:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.