By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,447 Members | 970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,447 IT Pros & Developers. It's quick & easy.

please help what is MM_sr

P: n/a
hi
can someone please tell me what "document.MM_sr" is. I tried searching
for a explanation on the web but cant find anything. What does MM_sr
represent? and where can i get documentation on it.

thank you
Jul 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
yoelgold wrote:
hi
can someone please tell me what "document.MM_sr" is. I tried searching
for a explanation on the web but cant find anything. What does MM_sr
represent? and where can i get documentation on it.


More than likely, its MacroMedia (probably Dreamweaver) produced code.
URL to a page with it in it?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #2

P: n/a
> can someone please tell me what "document.MM_sr" is. I tried searching
for a explanation on the web but cant find anything. What does MM_sr
represent? and where can i get documentation on it.


This is a Macromedia thing, related to image swapping in Dreamweaver.
You should ask Macromedia.

http://www.macromedia.com/devnet/mx/dreamweaver/
Jul 20 '05 #3

P: n/a
In article <41*************************@posting.google.com> ,
yo******@yahoo.com enlightened us with...
hi
can someone please tell me what "document.MM_sr" is. I tried searching
for a explanation on the web but cant find anything. What does MM_sr
represent? and where can i get documentation on it.


A Macromedia prefix to functions that mean a Macromedia product, such as
Dreamweaver, Director, or Flash, generated it. The author can always
modify the function, though.
--
--
~kaeli~
A man's home is his castle..., in a manor of speaking.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #4

P: n/a
URL to a page with it in it?


www.sunburstsolutions.com

i am pastin the asp file here

<html>
<head>
<title>Sunburst Solutions: Electronic Medical Records and Billing
Software</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="SunburstEMR is a complete Electronic
Medical Records and Billing software for today's busy physician.
Designed to reduce and ease all tasks for todays busy physician.
lifetime 100% money back guaranteed. Evaluate the full product for 3
months free.">
<meta name="keywords" content="electronic medical records,medical
billing software, billing software, cheap billing software, customized
medical reporting, customized medical software, customized reporting,
customized reporting software, customized software, doctor free pc
software, emr software, fast emr, free billing software, free billing
software, free medical billing, free medical billing software,free
medical record software, free medical record system, free medical
system, free reportin software, free software for doctor, hipaa
compliant software, medical billing, medical records, medical record
billing, medical record software, medical reporting, medical software,
paperless chart, paperless environment, paperless medical enbironment,
pediatric billing, pediatric emr, pediatric medical record, pediatric
software, pediatric system, pediatrician emr, record billing, reporting
software, software for pediatrician store medical record, storing
medical record, storing patient record, sunburst solution,
sunburstsolutions, sunburstsolutions.com, emr billing, medical practice
system, medical mis, program for docs, program for doctors, computer for
doctors, doctor system, paper charts, electronic charts">
<link rel="stylesheet" href="<%=dir%>sun.css" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)
x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image;
d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
x.oSrc=x.src; x.src=a[i+2];}
}

var interval;
var stopAt = -4;
var amt = 4;
var moveObj;
var haveObj = false;
var backto = 0;
var pauseHide;

function showMenu(obj, bt){
//alert('obj.style.pixelTop = ' + obj.style.pixelTop);
clearTimeout(pauseHide);
if (moveObj != obj){
if (haveObj) doHideMenu();
moveObj = obj;
haveObj = true;
backto = bt;
interval = setInterval('slideMenu()', 15);
}
}

function hideMenu(){
pauseHide = setTimeout('doHideMenu()', 30);
}

function keepMenu(){
clearTimeout(pauseHide);
}

function doHideMenu(){
//alert('height = ' + moveObj.style.pixelHeight);
clearInterval(interval);
if (haveObj){
haveObj = false;
moveObj.style.pixelTop = backto;
backto = 0;
moveObj = null;
}
}

function slideMenu(){
if (haveObj){
if (moveObj.style.pixelTop > stopAt){
moveObj.style.pixelTop = stopAt;
clearInterval(interval);
}

curPos = moveObj.style.pixelTop
moveObj.style.pixelTop = curPos + amt;
}
else
clearInterval(interval);
}
//-->
</script>
</head>

<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"
marginwidth="0" marginheight="0"<%if doPreload then%>
onLoad="MM_preloadImages('images/box_downloads_over.gif','images/box_pro
ducts_over.gif')"<%end if%>>
<div style="position:absolute; top:108; left:234; height:150; width:500;
clip:rect(0px 500px 300px 0px);">
<table width="120" cellpadding="2" cellspacing="0"
style="position:absolute; top:-43; left:0;" id="homeMenu"
onMouseOver="keepMenu()" onMouseOut="hideMenu()">
<tr><td background="<%=dir%>images/menu_bg.gif"><img
src="<%=dir%>images/spacer.gif" width="10"><a
href="<%=dir%>benifits.asp" class="navBar">EMR Benifits</a></td></tr>
<tr><td background="<%=dir%>images/menu_round.gif" valign="top"><img
src="<%=dir%>images/spacer.gif" width="10"><a href="<%=dir%>emr.asp"
class="navBar">Paper vs EMR</a></td></tr>
</table>
<table width="120" cellpadding="2" cellspacing="0"
style="position:absolute; top:-21; left:160;" id="compMenu"
onMouseOver="keepMenu()" onMouseOut="hideMenu()">
<!-- <tr><td background="<%=dir%>images/menu_bg.gif"><img
src="<%=dir%>images/spacer.gif" width="10"><a
href="<%=dir%>benifits.asp" class="navBar">EMR Benifits</a></td></tr>
-->
<tr><td background="<%=dir%>images/menu_round.gif" valign="top"><img
src="<%=dir%>images/spacer.gif" width="10"><a
href="<%=dir%>services.asp" class="navBar">Services</a></td></tr>
</table>
<table width="120" cellpadding="2" cellspacing="0"
style="position:absolute; height:auto; top:-87; left:75;" id="proMenu"
onMouseOver="keepMenu()" onMouseOut="hideMenu();">
<tr><td background="<%=dir%>images/menu_bg.gif"><img
src="<%=dir%>images/spacer.gif" width="10"><a
href="<%=dir%>pediatrics.asp" class="navBar">Pediatrics</a></td></tr>
<tr><td background="<%=dir%>images/menu_bg.gif"><img
src="<%=dir%>images/spacer.gif" width="10"><a
href="<%=dir%>prodDetails.asp" class="navBar">Sun CPR</a></td></tr>
<tr><td background="<%=dir%>images/menu_bg.gif"><img
src="<%=dir%>images/spacer.gif" width="10"><a href="<%=dir%>billing.asp"
class="navBar">Medical Billing</a></td></tr>
<tr><td background="<%=dir%>images/menu_round.gif" valign="top"><img
src="<%=dir%>images/spacer.gif" width="10"><a
href="<%=dir%>technology.asp" class="navBar">Technology</a></td></tr>
<!-- <tr><td background="<%=dir%>images/menu_round.gif"><img
src="<%=dir%>images/spacer.gif" width="10"><a
href="<%=dir%>services.asp" class="navBar">Services</a></td></tr> -->
</table>
<table width="120" cellpadding="2" cellspacing="0"
style="position:absolute; height:auto; top:-21; left:255;" id="conMenu"
onMouseOver="keepMenu()" onMouseOut="hideMenu();">
<!-- <tr><td background="images/menu_bg.gif"><img
src="images/spacer.gif" width="10"><a href="<%=dir%>#"
class="navBar">First</a></td></tr>
<tr><td background="images/menu_bg.gif"><img src="images/spacer.gif"
width="10"><a href="<%=dir%>#" class="navBar">Sales</a></td></tr>
--> <tr><td background="<%=dir%>images/menu_round.gif"
valign="top"><img src="<%=dir%>images/spacer.gif" width="10"><a
href="<%=dir%>demo.asp" class="navBar">Live Demo</a></td></tr>
</table>
</div>

<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="234" rowspan="2"><img src="<%=dir%>images/logo.jpg"
width="243" height="134"></td>
<td valign="top" height="88"
background="<%=dir%>images/bar_bg.gif"><img
src="<%=dir%>images/realize_glow.gif"></td>
<td width="60" align="right" rowspan="2"><img
src="<%=dir%>images/bar_bg_end.gif" width="60" height="134"></td></tr>
<tr>
<td valign="top" height="46"
background="<%=dir%>images/nav_bar_bg.gif"><table cellpadding="0"
cellspacing="0" background="<%=dir%>images/nav_bg.gif">
<tr>
<td width="75"
onMouseOver="showMenu(document.getElementById('hom eMenu'), -43);
event.cancelBubble = true;" onMouseOut="hideMenu();"
class="navBarWhite"><a href="<%=dir%>default.asp"
class="navBar">Home</a></td>
<td width="85"
onMouseOver="showMenu(document.getElementById('pro Menu'), -87);
event.cancelBubble = true;" onMouseOut="hideMenu();"
class="navBarWhite"><a href="<%=dir%>products.asp"
class="navBar">Products</a></td>
<td width="95"
onMouseOver="showMenu(document.getElementById('com pMenu'), -21);
event.cancelBubble = true;" onMouseOut="hideMenu();"
class="navBarWhite"><a href="<%=dir%>aboutUs.asp"
class="navBar">Company</a></td>
<td width="95"
onMouseOver="showMenu(document.getElementById('con Menu'), -21);
event.cancelBubble = true;" onMouseOut="hideMenu();"
class="navBarWhite"><a href="<%=dir%>contact.asp" class="navBar">Contact
Us</a></td>
<td><img src="<%=dir%>images/nav_end.gif"></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" bgcolor="#FFFFFF">

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #5

P: n/a
In article <40*********************@news.frii.net>, yo******@yahoo.com
enlightened us with...
>URL to a page with it in it?


www.sunburstsolutions.com

i am pastin the asp file here

Typical Dreamweaver code. Especially the image preload.

--
--
~kaeli~
He often broke into song because he couldn't find the key.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.