Skip to content
Browse files

added id to the correct div this time...I think

  • Loading branch information...
1 parent ba73c64 commit e4d4fdb8756149a953067dfd3a739991929cd6ee @dslatten dslatten committed Jan 18, 2012
Showing with 6 additions and 4 deletions.
  1. +2 −1 snippet.js
  2. +2 −2 title.js
  3. +2 −1 url.js
View
3 snippet.js
@@ -19,7 +19,7 @@ javascript:void(function(){
var div=document.createElement('div');
var mofoListItems=document.getElementById('rso').getElementsByTagName('li');
- var message='<div id="mofoSerpData" style="border:1px solid #9eaeb0;height:' + (winH-383) + 'px;overflow-y:auto;"><table cellpadding="6" cellspacing="1" border="0" bgcolor="#9eaeb0" style="position:relative;top:-1px;left:-1px"><tr><th bgcolor="#f0f7f8">Jump</th><th bgcolor="#f0f7f8">#</th><th bgcolor="#f0f7f8" width="512">Description/Snippet</th><th bgcolor="#f0f7f8">Chars</th><th bgcolor="#f0f7f8">Width</th></tr>';
+ var message='<div style="border:1px solid #9eaeb0;height:' + (winH-383) + 'px;overflow-y:auto;"><table cellpadding="6" cellspacing="1" border="0" bgcolor="#9eaeb0" style="position:relative;top:-1px;left:-1px"><tr><th bgcolor="#f0f7f8">Jump</th><th bgcolor="#f0f7f8">#</th><th bgcolor="#f0f7f8" width="512">Description/Snippet</th><th bgcolor="#f0f7f8">Chars</th><th bgcolor="#f0f7f8">Width</th></tr>';
var r=0,i,j,k,max1,max2,max3,divsInVSC,spansInS,linkURL,blueLink,minChar=999,maxChar=0,minWidth=512,maxWidth=0,bgColor;
var jumpLink,minCharJumpLinkId='',maxCharJumpLinkId='',minWidthJumpLinkId='',maxWidthJumpLinkId='';
@@ -90,6 +90,7 @@ javascript:void(function(){
message += '</div>';
div.innerHTML=message;
+ div.id='mofoSerpData';
div.style.position='fixed';
div.style.top='151px';
div.style.left='792px';
View
4 title.js
@@ -19,7 +19,7 @@ javascript:void(function(){
var div=document.createElement('div');
var mofoListItems=document.getElementById('rso').getElementsByTagName('li');
- var message='<div id="mofoSerpData" style="border:1px solid #9eaeb0;height:' + (winH-383) + 'px;overflow-y:auto;"><table cellpadding="6" cellspacing="1" border="0" bgcolor="#9eaeb0" style="position:relative;top:-1px;left:-1px"><tr><th bgcolor="#f0f7f8">Jump</th><th bgcolor="#f0f7f8">#</th><th bgcolor="#f0f7f8" width="512">Title</th><th bgcolor="#f0f7f8">Chars</th><th bgcolor="#f0f7f8">Width</th></tr>';
+ var message='<div style="border:1px solid #9eaeb0;height:' + (winH-383) + 'px;overflow-y:auto;"><table cellpadding="6" cellspacing="1" border="0" bgcolor="#9eaeb0" style="position:relative;top:-1px;left:-1px"><tr><th bgcolor="#f0f7f8">Jump</th><th bgcolor="#f0f7f8">#</th><th bgcolor="#f0f7f8" width="512">Title</th><th bgcolor="#f0f7f8">Chars</th><th bgcolor="#f0f7f8">Width</th></tr>';
var r=0,i,max1,linkURL,linkText,blueLink,minChar=999,maxChar=0,minWidth=512,maxWidth=0,bgColor;
var jumpLink,minCharJumpLinkId='',maxCharJumpLinkId='',minWidthJumpLinkId='',maxWidthJumpLinkId='';
@@ -77,8 +77,8 @@ javascript:void(function(){
message += '</table>';
message += '</div>';
-
div.innerHTML=message;
+ div.id='mofoSerpData';
div.style.position='fixed';
div.style.top='151px';
div.style.left='792px';
View
3 url.js
@@ -19,7 +19,7 @@ javascript:void(function(){
var div=document.createElement('div');
var mofoListItems=document.getElementById('rso').getElementsByTagName('li');
- var message='<div id="mofoSerpData" style="border:1px solid #9eaeb0;height:' + (winH-383) + 'px;overflow-y:auto;"><table cellpadding="6" cellspacing="1" border="0" bgcolor="#9eaeb0" style="position:relative;top:-1px;left:-1px"><tr><th bgcolor="#f0f7f8">Jump</th><th bgcolor="#f0f7f8">#</th><th bgcolor="#f0f7f8" width="512">Display URL</th><th bgcolor="#f0f7f8">Chars</th><th bgcolor="#f0f7f8">Width</th></tr>';
+ var message='<div style="border:1px solid #9eaeb0;height:' + (winH-383) + 'px;overflow-y:auto;"><table cellpadding="6" cellspacing="1" border="0" bgcolor="#9eaeb0" style="position:relative;top:-1px;left:-1px"><tr><th bgcolor="#f0f7f8">Jump</th><th bgcolor="#f0f7f8">#</th><th bgcolor="#f0f7f8" width="512">Display URL</th><th bgcolor="#f0f7f8">Chars</th><th bgcolor="#f0f7f8">Width</th></tr>';
var r=0,i,j,max1,max2,divsInVSC,linkURL,blueLink,displayURL,minChar=999,maxChar=0,minWidth=512,maxWidth=0,bgColor;
var jumpLink,minCharJumpLinkId='',maxCharJumpLinkId='',minWidthJumpLinkId='',maxWidthJumpLinkId='';
@@ -85,6 +85,7 @@ javascript:void(function(){
message += '</div>';
div.innerHTML=message;
+ div.id='mofoSerpData';
div.style.position='fixed';
div.style.top='151px';
div.style.left='792px';

0 comments on commit e4d4fdb

Please sign in to comment.
Something went wrong with that request. Please try again.