Click here to Skip to main content
15,893,814 members
Home / Discussions / Web Development
   

Web Development

 
QuestionASP.net: How can i pass a variable for query in .aspx Pin
surendra4u10-Aug-13 2:57
surendra4u10-Aug-13 2:57 
AnswerRe: ASP.net: How can i pass a variable for query in .aspx Pin
Ashutosh Mahto16-Aug-13 0:01
professionalAshutosh Mahto16-Aug-13 0:01 
QuestionSaying eff it Pin
rf_wtf31-Jul-13 12:24
rf_wtf31-Jul-13 12:24 
AnswerRe: Saying eff it Pin
Richard MacCutchan31-Jul-13 21:06
mveRichard MacCutchan31-Jul-13 21:06 
GeneralRe: Saying eff it Pin
rf_wtf24-Sep-13 7:30
rf_wtf24-Sep-13 7:30 
GeneralRe: Saying eff it Pin
Richard MacCutchan24-Sep-13 7:44
mveRichard MacCutchan24-Sep-13 7:44 
GeneralRe: Saying eff it Pin
rf_wtf24-Sep-13 7:52
rf_wtf24-Sep-13 7:52 
QuestionImage button link to another div in same page Pin
aelynne31-Jul-13 4:36
aelynne31-Jul-13 4:36 
I used this example.

Code:






<title>Test


$(document).ready(function() {
$('.hidable').hide();

$('.link').each(function(){

$(this).toggleClass("active").next();
$(this).click(function(){
var show=$(this).attr('rel');
$('.hidable').slideUp('slow');
$(show).slideDown('fast');
});

});
});

&lt;/script>
&lt;/head>
&lt;body>

<ul>
<li class='link' rel='#div1'><a href="#">1</a></li>
<li class='link' rel='#div2'><a href="#">2</a></li>
<li class='link' rel='#div3'><a href="#">3</a></li>
<li class='link' rel='#div4'><a href="#">4</a></li>
<li class='link' rel='#div5'><a href="#">5</a></li>
</ul>

<div id="boxes">
<div class='hidable' id='div1'><table><tr><td><img src="button.jpg"></td></tr></table></div>
<div class='hidable' id='div2'>div 2</div>
<div class='hidable' id='div3'>div 3</div>
<div class='hidable' id='div4'>div 4</div>
<div class='hidable' id='div5'>div 5</div>
</div>

</body>
</html>

and I added button in div1 content. My problem is to link that button to another div in this html file. For example, when I click the button, it will open the div2 content. I've tried using <a href="#div2"><img src="button.jpg></a> but not working. How should I do this?
QuestionEntityFramework MVC4 Pin
N_cooL30-Jul-13 23:48
N_cooL30-Jul-13 23:48 
AnswerRe: EntityFramework MVC4 Pin
Simon_Whale31-Jul-13 1:14
Simon_Whale31-Jul-13 1:14 
GeneralRe: EntityFramework MVC4 Pin
N_cooL1-Aug-13 2:31
N_cooL1-Aug-13 2:31 
QuestionHTTP Error 403.14 - Forbidden - when I try to browse web site set up on port 8082 Pin
vkEE30-Jul-13 6:04
vkEE30-Jul-13 6:04 
AnswerRe: HTTP Error 403.14 - Forbidden - when I try to browse web site set up on port 8082 Pin
Richard Deeming30-Jul-13 6:36
mveRichard Deeming30-Jul-13 6:36 
GeneralRe: HTTP Error 403.14 - Forbidden - when I try to browse web site set up on port 8082 Pin
vkEE30-Jul-13 10:48
vkEE30-Jul-13 10:48 
Questionhow to use json_encode Pin
aeman27-Jul-13 23:06
aeman27-Jul-13 23:06 
AnswerRe: how to use json_encode Pin
RedDk29-Jul-13 10:18
RedDk29-Jul-13 10:18 
QuestionHow to show widget in button click ? Pin
Tanuja12327-Jul-13 2:58
Tanuja12327-Jul-13 2:58 
QuestionMVC ASP.NET AJAX ACTION LINK CREATE Pin
f1sher25-Jul-13 22:41
f1sher25-Jul-13 22:41 
AnswerRe: MVC ASP.NET AJAX ACTION LINK CREATE Pin
eddieangel29-Jul-13 12:09
eddieangel29-Jul-13 12:09 
QuestionWhat is the best firewall for a website to prevent hackers interference? Pin
hoyice23-Jul-13 0:45
hoyice23-Jul-13 0:45 
QuestionSelf signed SSL in IIS 7 Pin
vkEE22-Jul-13 10:16
vkEE22-Jul-13 10:16 
AnswerRe: Self signed SSL in IIS 7 Pin
Richard Deeming22-Jul-13 11:30
mveRichard Deeming22-Jul-13 11:30 
QuestionMessage Closed Pin
22-Jul-13 3:19
Sumu Shi22-Jul-13 3:19 
AnswerRe: What are good ways to evaluate domain? Pin
Richard MacCutchan22-Jul-13 5:32
mveRichard MacCutchan22-Jul-13 5:32 
QuestionCharacter not showing in utf-8 encoding Pin
Danzy8321-Jul-13 12:51
Danzy8321-Jul-13 12:51 

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.