Click here to Skip to main content
15,900,973 members
Home / Discussions / Web Development
   

Web Development

 
Question"Top Rated Video" Sorting algorithm Pin
Siddarth Gaonkar12-Jan-09 11:51
Siddarth Gaonkar12-Jan-09 11:51 
AnswerRe: "Top Rated Video" Sorting algorithm Pin
Henry Minute12-Jan-09 13:06
Henry Minute12-Jan-09 13:06 
GeneralRe: "Top Rated Video" Sorting algorithm Pin
Siddarth Gaonkar13-Jan-09 9:31
Siddarth Gaonkar13-Jan-09 9:31 
GeneralRe: "Top Rated Video" Sorting algorithm Pin
Henry Minute13-Jan-09 9:43
Henry Minute13-Jan-09 9:43 
AnswerRe: "Top Rated Video" Sorting algorithm Pin
Member 450194013-Jan-09 11:09
Member 450194013-Jan-09 11:09 
QuestionMultiple webpages Pin
dsaroop12-Jan-09 10:01
dsaroop12-Jan-09 10:01 
QuestionDownload and Install Pin
Armandt__12-Jan-09 2:58
Armandt__12-Jan-09 2:58 
AnswerRe: Download and Install Pin
Not Active12-Jan-09 4:48
mentorNot Active12-Jan-09 4:48 
GeneralRe: Download and Install Pin
Anshumas14-Jan-09 21:50
Anshumas14-Jan-09 21:50 
GeneralRe: Download and Install Pin
Not Active15-Jan-09 1:57
mentorNot Active15-Jan-09 1:57 
GeneralRe: Download and Install Pin
Vasudevan Deepak Kumar15-Jan-09 3:52
Vasudevan Deepak Kumar15-Jan-09 3:52 
AnswerRe: Download and Install Pin
Paddy Boyd12-Jan-09 5:28
Paddy Boyd12-Jan-09 5:28 
AnswerRe: Download and Install Pin
Armandt__12-Jan-09 18:50
Armandt__12-Jan-09 18:50 
GeneralRe: Download and Install Pin
Armandt__13-Jan-09 0:16
Armandt__13-Jan-09 0:16 
AnswerRe: Download and Install Pin
Anshumas14-Jan-09 21:38
Anshumas14-Jan-09 21:38 
GeneralRe: Download and Install Pin
Armandt__15-Jan-09 1:51
Armandt__15-Jan-09 1:51 
AnswerRe: Download and Install Pin
Vasudevan Deepak Kumar15-Jan-09 3:53
Vasudevan Deepak Kumar15-Jan-09 3:53 
Questionmultiple hide show content in i-frame . Pin
sam_psycho12-Jan-09 2:30
sam_psycho12-Jan-09 2:30 
hi,
i'm trying to hide/show content of i-frame, id of all section that i wabt to hid/show is same so it hide/show only first occurance of id, code goes like this:

function hidediv(){
document.getElementById('hideshow').style.visibility = "visible";
}
function showdiv(doc) {
document.getElementById('hideshow').style.visibility = "hidden";
}

function displyXML()
{

var div = document.getElementById("myframe");
var doc = div.contentDocument;
if (doc == undefined || doc == null)
doc = div.contentWindow.document;
doc.open();


doc.write("<script src=\"js/scripts.js\" type=\"text/javascript\" language=\"javascript\"> </script>");

for (i=0;i<title.length;i++)
{
// reading data from XML to display in i-frame
strMsg =title[i].childNodes[0].nodeValue;
strUrl = (link[i].childNodes[0].nodeValue);
txt=description[i].childNodes[0].nodeValue;
doc.write("<a href="+strUrl+">+strMsg+</a>");
doc.write("<a href='javascript:showdiv()'> expand </a>");
doc.write("<a href='javascript:hidediv()'> collapes </a>;");

doc.write(" <p id='hideshow' > ");
doc.write(txt+"</p>"); // text i want to hide n show

doc.write(" <br \>");

}
doc.close();
}


how i can show/hide respective part of i-frame?
thanx.
Smile | :)
AnswerRe: multiple hide show content in i-frame . Pin
Jon Rista12-Jan-09 6:55
Jon Rista12-Jan-09 6:55 
Questionjavascript to reset html-page does not work after postback Pin
livez12-Jan-09 2:08
livez12-Jan-09 2:08 
AnswerRe: javascript to reset html-page does not work after postback Pin
Rajasekharan Vengalil12-Jan-09 9:36
Rajasekharan Vengalil12-Jan-09 9:36 
GeneralRe: javascript to reset html-page does not work after postback Pin
livez13-Jan-09 1:07
livez13-Jan-09 1:07 
AnswerRe: javascript to reset html-page does not work after postback Pin
Mohammad Dayyan13-Jan-09 19:58
Mohammad Dayyan13-Jan-09 19:58 
GeneralRe: javascript to reset html-page does not work after postback Pin
livez13-Jan-09 21:54
livez13-Jan-09 21:54 
AnswerRe: javascript to reset html-page does not work after postback Pin
Anshumas16-Jan-09 0:25
Anshumas16-Jan-09 0:25 

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.