Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
admin:indexing:powersearch:example [2011/03/21 19:59]
deb
admin:indexing:powersearch:example [2011/11/22 22:42]
doc
Line 17: Line 17:
  
 ==== Example ==== ==== Example ====
 +
 +
 +<​html>​
 +<!-- copy and paste. Modify height and width if desired. --> ​      
 +<​script>​
 +function loadVideo()
 +{
 +  var div = document.createElement("​div"​);​
 +  div.innerHTML = 
 +  "<​object id='​scPlayer'​ width='​720'​ height='​540'​ \
 +     ​type='​application/​x-shockwave-flash'​ \
 +     ​data='​http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/​scplayer.swf'>​ \
 +     <​param name='​movie' ​            ​value='​http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/​scplayer.swf'/>​ \
 +     <​param name='​quality' ​          ​value='​high'/>​ \
 +     <​param name='​bgcolor' ​          ​value='#​FFFFFF'/>​ \
 +     <​param name='​flashVars' ​        ​value='​thumb=http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/​FirstFrame.png&​containerwidth=720&​containerheight=540&​autohide=true&​autostart=true&​loop=false&​showendscreen=true&​showsearch=false&​showstartscreen=true&​tocdoc=left&​xmp=sc.xmp&​content=http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/​Omnidex%20ActiveCounts%20Demo.mp4&​blurover=false'/>​ \
 +     <​param name='​allowFullScreen' ​  ​value='​true'/>​ \
 +     <​param name='​scale' ​            ​value='​showall'/>​ \
 +     <​param name='​allowScriptAccess'​ value='​always'/>​ \
 +     <​param name='​base' ​             value='​http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/'/>​ \
 +   </​object>";​
 +  var src = document.getElementById("​scImg"​);​
 +  src.parentNode.replaceChild(div.firstChild,​src);​
 +}
 +</​script>​
 +<a href=""​ id="​scImg"​ onClick="​javascript:​loadVideo();​return false;">​Click Me</​a>​
 +</​html>​
 +
 +
 +
  
 In this example of PowerSearch,​ a user is trying to find a person in the database. ​ They searched the database with many incorrect pieces of information,​ but still found who they were looking for. In this example of PowerSearch,​ a user is trying to find a person in the database. ​ They searched the database with many incorrect pieces of information,​ but still found who they were looking for.
 
Back to top
admin/indexing/powersearch/example.txt ยท Last modified: 2016/06/28 22:38 (external edit)