You need to sign in to do that
Don't have an account?
brooks
javascript and variable url . . .
I've added this rating widget to my Visualforce detail page, and it requires a permalink to work correctly.
I've set the override on View for my list view page so that it appends the correct ID to the URL of my detail page when a link is clicked.
My question is how can I make the javascript above use the unique URL for each page rather than using one permalink?
Thanks for any tips.
Code:
<script language='JavaScript'> var OutbrainPermaLink='ENTER PERMALINK HERE'; var OB_demoMode = false; var OB_langJS ='http://widgets.outbrain.com/lang_en.js'; if ( typeof(OB_Script)!='undefined' ) OutbrainStart(); else { var OB_Script = true; var str = '<script src="http://widgets.outbrain.com/OutbrainRater.js" type="text/javascript"><\/script>'; document.write(str); } </script>
I've set the override on View for my list view page so that it appends the correct ID to the URL of my detail page when a link is clicked.
My question is how can I make the javascript above use the unique URL for each page rather than using one permalink?
Thanks for any tips.