Click to See Complete Forum and Search --> : JavaScript, Netscape & scrollbars?
Digirunt
06-26-2003, 03:45 PM
I'm using a JS search engine to dynamically generate a results page in a frame. Works great in IE and suprise suprise in Netscape no scrollbars appear and the user can't scroll through the results.
Tried everything I can think of, help appreciated.
Ta
David Harrison
06-26-2003, 03:55 PM
Can you post your code or provide a link to it?
Digirunt
06-26-2003, 04:00 PM
Here you go
Not exactly user friendly
//Translate search result info into your language
StrYourSearch="Poems found containing:"; //Your search:
StrNewSearch="New Search"; //New Search
StrCloseWindow="Close Window"; //Close Window
StrFind="Find"; //Find
StrItems="items"; //items
strResultPage="Result Page"; //Result Page
strPrevious="Previous"; //Previous
strNext="Next"; //Next
//Options for the search engine
MatchingStrategy=0; //0:Use all words,1:Use any words,2:Use exact phrase
SearchStrategy=0; //0:search all text,1:Search title,2:Search keywords,3:Search description
OutPutWindowType=2; //0:same window,1:new window,2:use frame,3:use iframe
OutPutResultTitle=1; //0: not output,1: output
OutPutResultText=1; //0: not output,1: output
OutPutResultUrl=1; //0: not output,1: output
OutPutResultInfo=1; //0: not output,1: output
NoNewSearchLink=1; //0: has New Search link,1: no
NoHorizLine=0; //0: has Horizontal lines,1: no
NoPoweredBy=1; //0: has Powered By info,1: no
ResultTitleSize=3; //default size: '3'
ResultTitleFace='arial'; //default face: 'arial'
ResultTitleColor='#0000ff'; //default color: '#0000FF'
ResultTextSize=2; //default size: '2'
ResultTextFace='arial'; //default face: 'arial'
ResultTextColor='#000000'; //default color: '#000000'
ResultUrlSize=2; //default size: '2'
ResultUrlFace='arial'; //default face: 'arial'
ResultUrlColor='#008000'; //default color: '#008000'
ResultInfoSize=2; //default size: '2'
ResultInfoFace='arial'; //default face: 'arial'
ResultInfoColor='#000000'; //default color: '#000000'
HitTitleColor='#cc0033'; //default color: '#CC0033'
HitTextColor='#cc0033'; //default color: '#CC0033'
SEBWebsite="http://www.aleadsoft.com";PreSearResultHTML="<HTML><HEAD>\r\n\r\n<TITLE>Search Engine Builder Standard -- Search result</TITLE>\r\n\r\n</HEAD>\r\n\r\n<body leftmargin='20'>\r\n\r\n<!-- NOTE: The following variable will be replaced with the search result and should not be removed.\r\nYou can insert anything before and after this variable such as menu bar,web logo,company info,etc. -->\r\n\r\n";SEBEmail="support@aleadsoft.com";StepSearResultHTML="\r\n\r\n\r\n</body>\r\n\r\n</html>\r\n";SEBAuthor="ALeadSoft.com, Inc.";document.write("<script LANGUAGE='JavaScript' src='webdata.js'></script>")
Theres another 28000 characters after this which I oviously can't include and its not online yet sorry.
Not sure if the probs in here cos the rest of the file is just millions of numbers
David Harrison
06-27-2003, 06:20 AM
All I can see is a bunch of variables, can you just strip the code down to it's bare essentials say with just a mock result and then try and display that as a result.
Digirunt
06-27-2003, 06:39 AM
I have attached the .js file as a .txt file contaninig the javascript code. It references another .js file containing all the indexed search terms
Because its been generated by an app its all total mumbo jumbo.
To be honest looking at it its probably better to give up on it and just appologise to NS users until I get better search tool.
Thanks for looking anyway
David Harrison
06-27-2003, 01:05 PM
Holy crap, that's worse than my code. I'm sorry but I don't think I'll be able to sift through that, it's just a little bit impossible.
I think you're right about just apologising to Netscape users.