Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Trouble getting java variable to load in iframe src

Posted on 2008-12-19
45
Medium Priority
?
10,150 Views
Last Modified: 2012-05-05
I have two java variables that are determined when a user clicks a link.  The variables are key identifiers and allow me to reference other database variables depending on which ones are selected.  The link points to two iframes and loads them through the src attribute.   The src contains references to the two key variables.  I can verify that the link is properly sending the variables.  But the iframe src lines are not receiving them because I am unable to get other information that is in the same record as the key references.

This is strange because I can use the exact same syntax in other methods for passing the variables. IE, A tags, form submits, etc.  But it is not working in the iframe src.
Here is the first link that the user clicks to determine the variables using our java ap and our database.  You will see the two key variables in the href as page ID and layout ID.
 
<dl class="dropdown">
    <ul>
           <% 
             for (int i=0; i<ResponseBean.getSizeOfDynamicPages(); i++)
             {
                 %>
      <li><a class="underline" target="iframe_i_contain" href="<%= response.encodeURL("DynamicPagesEditServlet?action=&success=m1_dynamic_nav_contain.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(i)+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(i) ) %>"
   onclick="doBoth();"><%= ResponseBean.getDynamicPagesAlias(i) %></a></li>
 
           <% } %>
    </ul>
<div style="clear:both" />
 
 
 
Here is the onclick javascript.
 
<script type="text/javascript">
function doBoth() {
frames['iframe_i_nav'].location.href = '<%= response.encodeURL("DynamicPagesEditServlet?action=&success=m1_dynamic_nav1.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(0)+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(0) ) %>"';
}
</script>
 
 
Here is the iframe.  This iframe is a container which holds two more iframes.
 
<iframe name="iframe_i_contain" frameborder="0" width="100%" height="460" align="top" scrolling="no">
</iframe>
 
 
Here are the two iframes that the above iframe container holds.
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(0)+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(0) ) %>">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(0)+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(0) ) %>">
If you can see this, your browser does not support iframes!
</iframe>
 
If the layout ID and the page ID are correctly passed along, then the "getDynamicPagesTemplateReference" and the "getDynamicLayoutsLayout" will point to the correct data.
 
However, they ID variables are not making it to this point as when the container iframes load, it just loads the default values.  
 
Again, the above syntax is working in other places of my code, just not the iframes.
 
FYI, these are all JSP pages.  Thanks for any help.

Open in new window

0
Comment
Question by:Shaye Larsen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 23
  • 21
45 Comments
 
LVL 92

Expert Comment

by:objects
ID: 23217339
what does the generated html look like?


0
 
LVL 92

Expert Comment

by:objects
ID: 23217341
you should be encoding the request param values

0
 
LVL 92

Expert Comment

by:objects
ID: 23217343
eg.

<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp", "UTF-8")+"&error="+ ....
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:cosuamx
ID: 23218829
If I understand what you are trying to do is the following:
1. Dynamically generate links based on responseBean info for each page/link
2. The doBoth() script is set to be executed onclick for each link.
3. When user click on any link it should update the iframe and refresh the other two iframes.

I'm assuming inside the first iframe you are accesing the parameters you need via the responseBean. If the responseBean scope is request, the data you had from the top jsp will be lost since updating the iframe generates a separate request, hence you'll get whaterver default values you have. Since you are passing the parameters in the request (src path) of the main iframe you should just get the values for the required parameters for the internal iframes (inside the jsp containing the two iframes) using request.getParameter(...) instead to ensure you get the values passed on that request.
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219056
Tried the URLEncoder.encode method,  got this 500 errror.

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 65 in the jsp file: /m1_dynamic_nav_contain.jsp
URLEncoder cannot be resolved
62: <iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(0)+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(0) ) %>">
63: If you can see this, your browser does not support iframes!
64: </iframe>
65: <iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp", "UTF-8")+"&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(0)+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(0) ) %>">
66: If you can see this, your browser does not support iframes!
67: </iframe>
68:


Stacktrace:
      org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
      org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
      org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219080
To answer your first question.  The generated HTML does not throw any errors.  It does not recognize the passed ID variables, so it displays the data based on the first record in the database.
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219116
cosuamx:  I put

<%
String dynamic_layouts_id = request.getParameter("dynamic_layouts_id");
String dynamic_pages_id = request.getParameter("dynamic_pages_id");
%>

in the header of the iframe that holds the two iframes.  It didn't work.  I did some research on the method and only found references for making it work from forms where the receiving variables are the names of the form input fields.

Where this is receiving it from an encoded href string, I couldn't find how to make it work.
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219192
This is a bit strange.  I am looking at the generated HTML and it shows that the variables are correctly passing, but for some reason they are not functioning.


Generated HTML.  You will see that "editnone1.jsp" is diplayed in the second iframe.  The "1" is the ResponseBean.getDynamicLayoutsLayout(0).  "1" is the correct variable.
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error=/m1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="DynamicLayoutsEditServlet?action=&success=0001/editnone1.jsp&error=/m1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
 
 
 
That variable changes which page is displayed.  The "1" indicates editnone1.jsp and a "2" would indicate editnone2.jsp.  Even though the 1 is being stored, it is still displaying editnone2.jsp.  I even displayed the variable on the final page and it correctly shows as "1".

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23219480
> URLEncoder cannot be resolved

you need to import it

> he generated HTML does not throw any errors.

I didn't say it did, I want to see it

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219576
See generated code below.
Here is the beginning link.
 
    <ul>
      <li><a class="underlineadd">
		<strong>CHOOSE A SITE TO EDIT</strong></a></li>
                      
      <li><a class="underline" target="iframe_i_contain" href="DynamicPagesEditServlet?action=&success=m1_dynamic_nav_contain.jsp&error=/m1_dynamic_landing.jsp&dynamic_pages_id=135&dynamic_layouts_id=223"
   onclick="doBoth();">BBoneword22</a></li>
    </ul>
  </dd>
</dl>
 
 
Here is the iframe which is the container for two iframes.
 
<iframe name="iframe_i_nav" src="m1_dynamic_nav_frame1pre.jsp" frameborder="0" width="100%" scrolling="no" height="30" align="top">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_contain" frameborder="0" width="100%" height="600" align="top" scrolling="no">
 
</iframe>
 
 
 
Here are the two iframes that the above container references.
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error=/m1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="570" align="top" src="DynamicLayoutsEditServlet?action=&success=0001/editnone2.jsp&error=/m1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
 
 
The "editnone2.jsp in the iframe immediately above pulls the "2" from this (non-generated html)
 
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="570" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(0)+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(0) ) %>">
If you can see this, your browser does not support iframes!
</iframe>
 
 
That "2" is not correct.  The ID 233 references "1", so it should read, editnone1.jsp.
 
I can tell that the variable is passing along though as the jsp page editnone2.jsp has this generated code,
 
div class="edit_header" onClick="location.href='editheader1.jsp';" onmouseover="document.getElementById('change_head').style.backgroundColor='transparent';" onmouseout="document.getElementById('change_head').style.backgroundColor='black';" align="center"><a class="edit_box" href="editheader1.jsp">Edit Header</a></div>
 
 
That editheader1.jsp uses the same variable for the "1".  So the "1" has made it to the final page, it just doesn't make it first load of the iframe.

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23219598
> from this (non-generated html)

what do u mean by non-generated?  Is this a static file?
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219612
I just meant that since most of the code i just posted is generated, I didn't want to confuse that bit of code where that is referenced with the rest.  That bit is before generated.  The rest is after.
0
 
LVL 92

Expert Comment

by:objects
ID: 23219620
you need to encode the params as I mentioned earier

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219637
I did and that is what through the URLEncoder cannot be resolved error.

My java guy is out, so I took a stab at importing as suggested.

I placed, import java.net.URLEncoder; in the servlet, DynamicLayoutsEditServlet.

Is the the right way to import the encoder?  See the servlet code below.

package com.ideaorbit.servlets;
 
import com.ideaorbit.database.DynamicLayoutsDatabase;
import com.ideaorbit.database.DynamicPagesDatabase;
import com.ideaorbit.database.DynamicPagesImagesDatabase;
import com.ideaorbit.database.DynamicPagesMainLinksDatabase;
import com.ideaorbit.databeans.DynamicPagesDatabean;
import com.ideaorbit.exceptions.FormFieldsValuesValidationException;
import com.ideaorbit.session.IdeaOrbitSession;
import com.ideaorbit.util.HttpRequestUtils;
import java.util.HashMap;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.net.URLEncoder;
 
// Referenced classes of package com.ideaorbit.servlets:
//            IdeaOrbitServlet
 
public class DynamicLayoutsEditServlet extends IdeaOrbitServlet {
 
	public DynamicLayoutsEditServlet() {
		className = "DynamicLayoutsEditServlet";
	}
 
	protected void actionProcessing() throws Exception {
		try {
			super.getCurrentIdeaOrbitSession().addToVisitHistoryExtraInfo(className);
			super.updateHTTPSessionWithCurrentIdeaOrbitSession();
			DynamicLayoutsDatabase dynamicLayoutsDatabase = new DynamicLayoutsDatabase();
			java.util.Vector layoutIDresult = dynamicLayoutsDatabase.selectDynamicLayoutsByID(super.getValueOfField("dynamic_layouts_id"));
 
			DynamicPagesImagesDatabase dynamicPagesImagesDatabase = new DynamicPagesImagesDatabase();
			java.util.Vector imagesResults = dynamicPagesImagesDatabase.selectAllImagesForMember(super.getCurrentIdeaOrbitSession().getMembersID());
 
			DynamicPagesDatabase dynamicPagesDatabase = new DynamicPagesDatabase();
			java.util.Vector pageIDresult = dynamicPagesDatabase.selectDynamicPagesByID(super.getValueOfField("dynamic_pages_id"));
 
			DynamicPagesDatabean databean = new DynamicPagesDatabean();
			databean.setDynamicLayouts(layoutIDresult);
			databean.setDynamicPagesImages(imagesResults);
			databean.setDynamicPages(pageIDresult);
 
			java.util.Vector layouts = dynamicLayoutsDatabase.selectDynamicLayoutsByPagesID(super.getValueOfField("dynamic_pages_id"));
			for (int i = 0; i < layouts.size(); i++) {
				HashMap row = (HashMap) layouts.get(i);
				String linkName = (String) row.get("dynamic_layouts_link_name");
				if (linkName.equals(databean.getDynamicPagesMainLinks1(0))) {
					databean.setMainLinks1LayoutID(row.get("dynamic_layouts_id").toString());
				}
				if (linkName.equals(databean.getDynamicPagesMainLinks2(0))) {
					databean.setMainLinks2LayoutID(row.get("dynamic_layouts_id").toString());
				}
				if (linkName.equals(databean.getDynamicPagesMainLinks3(0))) {
					databean.setMainLinks3LayoutID(row.get("dynamic_layouts_id").toString());
				}
				if (linkName.equals(databean.getDynamicPagesMainLinks4(0))) {
					databean.setMainLinks4LayoutID(row.get("dynamic_layouts_id").toString());
				}
				if (linkName.equals(databean.getDynamicPagesMainLinks5(0))) {
					databean.setMainLinks5LayoutID(row.get("dynamic_layouts_id").toString());
				}
			}
 
			super.getCurrentHttpSession().setAttribute("ResponseBean", databean);
		} catch (Exception e) {
			throw e;
		}
	}
 
	protected void validateIncomingFields(HttpServletRequest req) throws Exception {
		HashMap compulsoryFields = new HashMap();
		compulsoryFields.put("dynamic_layouts_id", "");
		HashMap validationResult = HttpRequestUtils.validateCompulsoryFieldsAndValues(compulsoryFields, super.getFormFieldsAndValues());
		validationReInputData.clear();
		validationReInputData.put("dynamic_layouts_id", super.getValueOfField("dynamic_layouts_id"));
		validationReInputData.put("dynamic_pages_id", super.getValueOfField("dynamic_pages_id"));
		if (!validationResult.isEmpty()) {
			DynamicPagesDatabean databean = (DynamicPagesDatabean) super.getCurrentResponseDatabean();
			databean.setValidationReInputData(validationReInputData);
			super.updateHTTPSessionWithDatabean(databean);
			FormFieldsValuesValidationException e = new FormFieldsValuesValidationException(className, "validateIncomingFields",
					"Please complete all mandatory fields.", "");
			throw e;
		} else {
			return;
		}
	}
 
	private String className;
	public static final String HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID = "dynamic_layouts_id";
	public static final String HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID = "dynamic_pages_id";
}

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23219649
no you need to import it in the jsp

or you can specify the fgn when you use it

<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+java.net.URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp", "UTF-8")+"&error="+ ....
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219662
K, that got the page to load.  No more 500 error.  But the variable is still "2" which is incorrect.

Here is the generated html for the iframe in question.
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error=/m1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=/m1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23219723
you need to do the same for all the parameters

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23219864
k, put <%@ page import="java.net.URLEncoder"%> in both the top page and the container jsp.

Do you mean all parameters of the iframe in question, like this

<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp", "UTF-8")+"&error="+ request.getServletPath()+"&"+URLEncoder.encode(com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(0)+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
If you can see this, your browser does not support iframes!
</iframe>

Or all parameters from the beginning link until this iframe?  I have tried both ways with no luck.

      <li><a class="underline" target="iframe_i_contain" href="<%= response.encodeURL(URLEncoder.encode("DynamicPagesEditServlet?action=&success=m1_dynamic_nav_contain.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(i)+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(i), "UTF-8") ) %>"
   onclick="doBoth();"><%= ResponseBean.getDynamicPagesAlias(i) %></a></li>

Thanks for all your help!
0
 
LVL 92

Expert Comment

by:objects
ID: 23219887
both, all parameters in a url need to be encoded.
so it will be something like:

paramname1="+java.net.URLEncoder.encode(value1, "UTF-8")+"&paramname2="+java.net.URLEncoder.encode(value2, "UTF-8")....
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23220018
K, encoded the original link params and the iframe container params.  Still same results. No luck.  
Here is how I did it in the first link.
 
      <li><a class="underline" target="iframe_i_contain" href="<%= response.encodeURL("DynamicPagesEditServlet?action=&success=m1_dynamic_nav_contain.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(i), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(i), "UTF-8") ) %>"
   onclick="doBoth();"><%= ResponseBean.getDynamicPagesAlias(i) %></a></li>
 
 
Here is how I did it in the iframes.
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp", "UTF-8")+"&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
If you can see this, your browser does not support iframes!
</iframe>
 
 
Here is the generated code of the iframes.
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error=/m1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=/m1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23220045
you're still not encoding all the param values
I can see unencoded 'error' paras, and 'success'
0
 
LVL 92

Expert Comment

by:objects
ID: 23220088
if you're not a java developer then you may find it simpler to use the c:url tag

http://helpdesk.objects.com.au/jsp/how-to-create-a-url-ensuring-parameters-are-encoded

certainly a lot easier to read :)

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23220106
Still no effect.  Have it in all the params.  Does it need to be in all params on the page even if they are not associated with this objective or just the links that are associated with the iframes?  

Page still renders, just doesn't load the correct variable for LayoutsLayout in that final iframe.
Here is the first link.
 
      <li><a class="underline" target="iframe_i_contain" href="<%= response.encodeURL("DynamicPagesEditServlet?action=&success="+URLEncoder.encode("m1_dynamic_nav_contain.jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(i), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(i), "UTF-8") ) %>"
   onclick="doBoth();"><%= ResponseBean.getDynamicPagesAlias(i) %></a></li>
 
 
Here is the iframes.
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp", "UTF-8")+"&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
If you can see this, your browser does not support iframes!
</iframe>

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23220129
any param used in a url needs to be encoded.

can you post the generated html for the links that are not currently working
and how they are not working?

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23220209
There is only one link not working.  

Here it is generated.

      <li><a class="underline" target="iframe_i_contain" href="DynamicPagesEditServlet?action=&success=m1_dynamic_nav_contain.jsp&error=%2Fm1_dynamic_landing.jsp&dynamic_pages_id=135&dynamic_layouts_id=223"
   onclick="doBoth();">BBoneword22</a></li>
0
 
LVL 92

Expert Comment

by:objects
ID: 23220216
how is it not working?  which params is the servlet it is linking to not finding?

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23220236
The param, ResponseBean.getDynamicLayoutsLayout, in the final iframe is the one not working.  It is linked with, com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID, which is located in the first link.  That link sends the LayoutID to the container.  The container uses the LayoutID to read in records from the database.  

If that LayoutID is correctly passed, then the ResponseBean.getDynamicLayoutsLayout will display a "1" in this case.

That is the only param that is not working.  All others are.  In fact, this param is working on other parts of the same pages.  Just not from this iframe src.
0
 
LVL 92

Expert Comment

by:objects
ID: 23220246
sorry got lost in all that :)

so what *should* be in the non-working link above that is not there?

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23220263
The link sends LayoutID.  That is the primary key.  With the primary key set correctly, I can populate the page with other params from the database.

In this case, the LayoutID "233" is connected with the LayoutsLayout "1".  However, the LayoutsLayout is showing a "2" which means it doesn't know which one to show, so it just shows the first in the database.

0
 
LVL 92

Expert Comment

by:objects
ID: 23220276
so what should the link look like?

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23220733
Hey man, thanks for all your time today.  Sure is giving.

As stated in the beginning, the problem must have something to do with the iframes.  I am passing these same java variables successfully all over the site.  It is just when it first loads that one iframe.  Even after it loads it unsuccessfully, you can click it and it loads it successfully.  So the variable gets there, it just doesn't do it on the first load.
0
 
LVL 92

Expert Comment

by:objects
ID: 23220782
> frames['iframe_i_nav'].location.href = '<%= response.encodeURL("DynamicPagesEditServlet?action=&success=m1_dynamic_nav1.jsp&error="+ request.getServletPath()+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+ResponseBean.getDynamicPagesID(0)+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+ResponseBean.getSiteHomepageReference(0) ) %>"';


have you fixed up the encoding in the javascript?

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23220899
Yeah, here is the whole first page that has the link in question and the first iframes.
<%
try
{
%>
 
<jsp:useBean id="IdeaOrbitSession" type="com.ideaorbit.session.IdeaOrbitSession" scope="session" ></jsp:useBean>
<jsp:useBean id="ResponseBean" type="com.ideaorbit.databeans.DynamicPagesDatabean" scope="session" ></jsp:useBean>
 
<%@ include file="/includes/members_logged_in_check.jsp" %>
 
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>IdeaOrbit - The Idea Community</title>
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="stylesheet" href="includes/dropdown.css" type="text/css" />
<script type="text/javascript" src="includes/dropdown.js"></script>
<%@ page import="java.net.URLEncoder"%>
 
 
 
<!-- Start gray out popup script -->
<script type="text/javascript">
function showPopUp(el) {
var cvr = document.getElementById("cover")
var dlg = document.getElementById(el)
cvr.style.display = "block"
dlg.style.display = "block"
if (document.body.style.overflow = "hidden") {
cvr.style.width = "100%"
cvr.style.height = "100%"
}
}
function closePopUp(el) {
var cvr = document.getElementById("cover")
var dlg = document.getElementById(el)
cvr.style.display = "none"
dlg.style.display = "none"
document.body.style.overflowY = "scroll"
}
</script>
<!-- End gray out popup script -->
 
</head>
 
 
<%@ include file="/includes/styles.jsp" %>
<%@ include file="/includes/home_preload.jsp" %>
<%@ include file="/includes/drop_script.jsp" %>
<%@ include file="/includes/body_members.jsp" %>
 
	<!-- Gray out div. Leave these here. -->
<div id="cover"></div>
<%@ include file="/includes/top_nav_member.jsp" %>
	<TR>
		<TD COLSPAN=9 WIDTH=1000 HEIGHT=485 valign="top"><br>
		
<table width="100%" cellpadding="0" cellspacing="0">
 <tr>
  <td valign="top" align="left">&nbsp;
 
        <span class="style7">
          <%@ include file="/includes/error_message.jsp" %></span>
        
  
 
	 
				<%@ include file="/includes/rounded_corners_gradient.jsp" %>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="100%" valign="top">	
	   <div align="center">
	  <table width="950" cellpadding="0" cellspacing="0">
	   <tr>
	    <td width="100%" align="left" style="border-top-style:solid; border-top-width: 1px; border-top-color:#CECECE;">
 
 
 
<!-- Drop down site menu -->
<dl class="dropdown">
  <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"></dt>
  <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
    <ul>
      <li><a class="underlineadd">
		<strong>CHOOSE A SITE TO EDIT</strong></a></li>
           <% 
             for (int i=0; i<ResponseBean.getSizeOfDynamicPages(); i++)
             {
                 %>
      <li><a class="underline" target="iframe_i_contain" href="<%= response.encodeURL("DynamicPagesEditServlet?action=&success="+URLEncoder.encode("m1_dynamic_nav_contain.jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(i), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(i), "UTF-8") ) %>"
   onclick="doBoth();"><%= ResponseBean.getDynamicPagesAlias(i) %></a></li>
 
           <% } %>
      <li><a target="iframe_i_edit" class="underlineadd" href="<%= response.encodeURL("DynamicPagesAddServlet?action=&success="+URLEncoder.encode("m1_dynamic_add.jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8") ) %>">Add a New Site</a></li>
    </ul>
  </dd>
</dl>
<div style="clear:both" />
<!-- Drop down site menu -->
 
 
 
		</td>
	   </tr>
       <tr>
	    <td width="100%" align="left" valign="top" bgcolor="#FFFFFF" class="style9">
<iframe name="iframe_i_nav" src="m1_dynamic_nav_frame1pre.jsp" frameborder="0" width="100%" scrolling="no" height="30" align="top">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_contain" frameborder="0" width="100%" height="600" align="top" scrolling="no">
 
</iframe>
 
   </td>
   </tr>
  </table> </div><br><br>
	  </td>
	</tr>
</table>
</div>
	  </td>
	</tr>
</table>
 
 </TD>
	</TR>
<%@ include file="/includes/news_row_members.jsp" %>
<%@ include file="/includes/spacer_row.jsp" %>
<br><br><br>
</body>
</html>
<!-- Frames double link script -->
<script type="text/javascript">
function doBoth() {
frames['iframe_i_nav'].location.href = '<%= response.encodeURL("DynamicPagesEditServlet?action=&success="+URLEncoder.encode("m1_dynamic_nav1.jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(0), "UTF-8") ) %>"';
}
</script>
<!-- end Frames double link script -->
<%
}
catch (com.ideaorbit.exceptions.MemberNotLoggedInException e)
{
    response.sendRedirect(response.encodeURL("/error_member_not_logged_in.jsp"));
}
catch (Exception e)
{
    response.sendRedirect (response.encodeURL("/error_history_and_timeout.jsp"));
}
%>

Open in new window

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23220902
Here is the entire second page which is the container and holds the final two iframes including the iframe that we are having trouble displaying LayoutsLayout.
<%
try
{
%>
 
<jsp:useBean id="IdeaOrbitSession" type="com.ideaorbit.session.IdeaOrbitSession" scope="session" ></jsp:useBean>
<jsp:useBean id="ResponseBean" type="com.ideaorbit.databeans.DynamicPagesDatabean" scope="session" ></jsp:useBean>
 
<%@ include file="/includes/members_logged_in_check.jsp" %>
 
<html>
<head>
<link rel="stylesheet" href="includes/dropdown.css" type="text/css" />
<script type="text/javascript" src="includes/dropdown.js"></script>
<%@ include file="/includes/drop_script.jsp" %>
<%@ page import="java.net.URLEncoder"%>
 
 
 
 
</head>
 
 
<%@ include file="/includes/styles.jsp" %>
<body> 
 
 
 
<!-- Drop down site menu -->
<div style="z-index:2 ">
<dl class="dropdownpage">
  <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"></dt>
  <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
    <ul>
      <li><a class="underlineadd">
		<strong>CHOOSE A PAGE TO EDIT</strong></a></li>
           <% 
             for (int i=0; i<ResponseBean.getSizeOfDynamicLayouts(); i++)
             {
                 %>
				 <% if (ResponseBean.getDynamicLayoutsID(i).equalsIgnoreCase(ResponseBean.getSiteHomepageReference(0))){%>
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(i)+".jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getDynamicLayoutsID(i), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
		<%= ResponseBean.getDynamicLayoutsLinkName(i) %> <span class="style12">[HOME PAGE]</span></b> </a></li>
		   <%}%>
 
           <% } %>
           <% 
             for (int i=0; i<ResponseBean.getSizeOfDynamicLayouts(); i++)
             {
                 %>
				 <% if (!ResponseBean.getDynamicLayoutsID(i).equalsIgnoreCase(ResponseBean.getSiteHomepageReference(0))){%>
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(i)+".jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getDynamicLayoutsID(i), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
		<%= ResponseBean.getDynamicLayoutsLinkName(i) %><%}%></a></li>
           <% } %>
      <li><a class="underlineadd" target="iframe_i_edit" href="m1_dynamic_layout_add.jsp">Add a New Page</a></li>
    </ul>
  </dd>
</dl>
</div>
<div style="clear:both" />
<!-- Drop down site menu -->
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode("m1_dynamic_nav2.jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayout(0)+".jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
If you can see this, your browser does not support iframes!
</iframe>
 
 
</body>
</html>
<!-- Frames double link script -->
<script type="text/javascript">
function doBoth2() {
frames['iframe_i_nav2'].location.href = '<%= response.encodeURL("DynamicPagesEditServlet?action=&success="+URLEncoder.encode("m1_dynamic_nav2.jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getDynamicLayoutsID(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>';
}
</script>
<!-- end Frames double link script -->
 
<%
}
catch (com.ideaorbit.exceptions.MemberNotLoggedInException e)
{
    response.sendRedirect(response.encodeURL("/error_member_not_logged_in.jsp"));
}
catch (Exception e)
{
    response.sendRedirect (response.encodeURL("/error_history_and_timeout.jsp"));
}
%>

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23223624
am more interested in the generated pages and pin pointing what is wrong in the html.
Once we know that it should be easy to work out why and fix it.

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23227236
Here is the generated HTML for the first page with the link.  The link is a loop.  The one one I clicked on for this example is the one that has LayoutID 233


 
 
 
 
 
 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>IdeaOrbit - The Idea Community</title>
<link rel="shortcut icon" href="images/favicon.ico">
 
 
</head>
 
<style type="text/css">
 
/*instant site drop down style - links */
span.select { 
 
  width: 100%; /* With the padding included, the width is 190 pixels: the actual width of the image. */ 
 
  color: #fff; 
  opacity: 0;
  filter: alpha(opacity=0);
  font: 12px/21px arial,sans-serif;
  
  
  /*background: url(select.gif) no-repeat;*/ 
  overflow: auto; 
} 
 
/* save buttons */
.button {
width:200px; height:40px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:10px; color: #330066; vertical-align:middle;
}
 
.style1 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #666666; line-height:16px}
 
/* Members area sub header: Under BIG header style2a */
.style1a {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 16px; color: #666666; line-height:16px}
 
/* Image stock preview, no image area */
.style1b {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 16px; color: #999999; line-height:16px}
 
.style2 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #330066; }
 
/* Members area top BIG header */
.style2a {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 50px; color: #330066; }
 
/* Members area - second level header */
.style2b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; color: #330066; }
a.style2b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; text-decoration:none; color: #330066; }
a.style2b:hover {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; text-decoration:none; color: #330066; }
/* Members area - third level header */
.style2c {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 16px; color: #330066; }
 
.style3 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333; }
a.style3 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#533981; text-decoration:none; font-size: 10px; }
a.style3:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#000000; font-size: 10px; }
 
/* Instant site title bar text */
.style4 {color: #FFFFFF;font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 12px;}
 
/* Under gray bar, instant sites site link */
.style4a {color:#330066; font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 14px; font-weight: bold;}
 
/* Quicklink green button */
.style4b {color: #FFFFFF; font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; }
a.style4b {color: #FFFFFF;font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; text-decoration:none}
a.style4b:hover {color:#FFFF99;font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; text-decoration:none}
 
/* instant site manage area title of site */
.style4c {color:#242424; font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px; font-weight: bold;}
 
.style5 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; color: #FF0000; }
.style6 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FF0000; }
a.style6 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FF0000; }
.style7 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#CC0000 }
.style8 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333; }
a.style8 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#134583; text-decoration:none; font-size: 10px; }
a.style8:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#7E95FE; font-size: 10px; }
 
/* Main base font for entire site */
.style9 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#666666 }
a.style9 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 12px; }
a.style9:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#660000; font-size: 12px; }
 
.style10 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; text-decoration:none; font-size: 12px; }
a.style10 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; text-decoration:underline; font-size: 12px; }
a.style10:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#7E95FE; text-decoration:underline; font-size: 12px; }
 
/* Members area - Main link design */
.style11 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; font-size: 12px; }
a.style11 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; text-decoration:none; font-size: 12px; }
a.style11:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; text-decoration:underline; font-size: 12px; }
 
/* Members area - Main link design, manage site links - not bolded */
.style11b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-size: 12px; line-height:150% }
a.style11b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:none; font-size: 12px; line-height:150%  }
a.style11b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:underline; font-size: 12px; line-height:150% }
 
.style12 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-size: 10px; }
a.style12 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:none; font-size: 10px; cursor:pointer;cursor:hand }
a.style12:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:underline; font-size: 10px; cursor:pointer;cursor:hand }
 
 
/* instant alias on manage page */
.style12b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; font-size: 9px; vertical-align:text-top; }
a.style12b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 9px; cursor:pointer;cursor:hand;  ertical-align:text-top; }
a.style12b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:underline; font-size: 9px; cursor:pointer;cursor:hand; vertical-align:text-top; }
 
/* Expandable content styles */
.save{
   behavior:url(#default#savehistory);}
a.dsphead span.dspchar{
   font-family:monospace;
   font-weight:normal;}
.dspcont{
   display:none;
   }
/* End Expandable content styles */
 
			   
.style13 {	font-family: Geneva, Arial, Helvetica, sans-serif;	color: #000066;	font-weight: bold;}
.style14 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 14px; color: #330066; }
.style15 {	font-family: Geneva, Arial, Helvetica, sans-serif;	font-size: 12px;	color: #660000;	font-weight: bold;}
.style16 {	font-size: 14px;	font-family: Geneva, Arial, Helvetica, sans-serif;	font-weight: bold;}
.style17 {	font-family: Georgia, "Times New Roman", Times, serif;	font-size: 14px;}
.style18 {	font-size: 14px; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style19 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#330066; font-size: 12px; }
.style20 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#330066; font-size: 9px }
.style21 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #7E95FE; }
a.style21 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:none; font-weight: bold; color: #7E95FE; }
a.style21:hover {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:underline; font-weight: bold; color: #666666; }
.style22 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; font-size: 10px}
a.style22 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; font-size: 10px}
.style23 {	font-family: Georgia, "Times New Roman", Times, serif;	font-style: italic;	font-size: 14px;}
 
/* Image preview area, design edit area */
.style24 {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold;
	background-color:#FFFFFF;
	color:#990000; 
	width:297px;
	max-width:297px;
	border-width:1; 
	border-style:solid; 
	border-color:#999999; 
	position:absolute;
	overflow:hidden;
	}
.style24a {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold; 
	color:#990000; 
	border-width:1; 
	border-style:solid; 
	border-color:#999999; 
	position:absolute;
	}
 
/* Image preview area */
.style24b {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold; 
	color:#990000; 
	max-width:297px;
	border-style:solid;
	border-width:1px;
	border-color:#999999; 
	position:absolute;
	overflow:hidden;
	}
.style25 {	font-size: 8px;	font-family: Arial, Helvetica, sans-serif;}
.style27 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; color: #660000; font-weight: bold; }
.style28 {font-size: 24px; font-family: Times New Roman, Times, serif;}
.style29 {font-size: 14px; color: #660000; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style30 {color: #000066; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style31 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #666666; font-size: 10px}
a.style31 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #666666; font-size: 10px}
 
/* Members area Quick Link  - links */
.style31b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#999999; font-size: 10px}
a.style31b {font-family: Geneva, Arial, Helvetica, sans-serif; color: #999999; font-size: 10px}
a.style31b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color: #BBBBBB; font-size: 10px}
 
.style32 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px; color: #000066; }
.style33 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #333333; }
.style34 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px;}
.style35 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 12px;color: #999999; font-weight: bold;}
.style36 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #134583; }
a.style36 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:none; font-weight: bold; color: #134583; }
a.style36:hover {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:underline; font-weight: bold; color: #7E95FE; }
 
/* Members area Quick Link 2nd header */
.style36b {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #666666; }
 
.style37 {color: #FFFFFF;font-weight: bold;font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 16px;}
.style38 {font-size: 24px; font-family:"Times New Roman", Times, serif; color: #FFFFFF; }
 
/* Members area Main Page Title */
.style39 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 22px; color:#999999; }
 
.style40 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #134583; }
 
/* Members area Quick Link top header, and "or" between options */
.style40b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #666666; }
 
.style41 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#134583; font-size: 12px; }
.style42 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #134583; line-height:16px}
 
/* Select site templates */
.style43 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333 }
a.style43 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 10px; }
a.style43:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#660000; font-size: 10px; }
 
.style44 {font-family: Arial, Helvetica, sans-serif; font-size: 8px; }
.style45 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color: #330066; font-weight:bold; }
a.style45 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color: #330066; text-decoration:none; font-weight:bold; cursor:pointer;cursor:hand }
a.style45:hover {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color:#999999; text-decoration:none; font-weight:bold; cursor:pointer;cursor:hand }
.style46 {font-family: Arial, Helvetica, sans-serif;font-size: 20px;}
 
/* Instant sites pick a template */
.scrollArea
{
width: 530px;
height: 210px;
background-color:#FFFFFF;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
overflow: auto;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
scrollbar-face-color : #AC9EC1; 
scrollbar-highlight-color : #9999FF; 
scrollbar-3dlight-color : #999999;
scrollbar-darkshadow-color : #9999CC; 
scrollbar-arrow-color : #CCCCFF; 
scrollbar-shadow-color : #CCCCCC; 
scrollbar-track-color: #6A6192;
overflow-x:hidden; 
overflow-y:auto; 
}
.boxArea1
{
width: 360px;
height: 220px;
background-color:#FFFFFF;
padding: 10px;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
overflow: auto;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
}
 
 
/* Instant sites edit areas */
.editArea
{
background-color:#FFFFFF;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
width:850px;
 
}
 
 
 
input.drop1 {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
input.drop2 {background-color: #CCCCFF;}
textarea.drop {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
option.drop1 {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
option.drop2 {background-color: #CCCCFF;}
 
/* Gray out area */
#cover {
display:none;
position:absolute;
text-align: center;
background-color:gray;
filter:alpha(opacity=60);
opacity:.60;
-moz-opacity:.60;
-khtml-opacity:0.6;
vertical-align:middle;
height:100%;
width:100%;
}
/* Gray out area popup */
#dialog {
display:none;
position:absolute;
top:50%;
margin-top:-50;
left: 50%;	
width: 400px;
height: 100px;
margin-left: -200px;
margin-bottom:50%;
background:white;
padding:6px;
font:10pt tahoma;
border:6px solid gray
}
 
 
</style>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
 
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) { //v3.0
  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); 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];}
}
 
//-->
</script>
<style type="text/css">
 
#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 11px Arial;
line-height:18px;
z-index:9999;
}
 
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
z-index:9999;
}
 
#dropmenudiv a:hover{ /*hover background color*/
background-color: #D3D6FF;
}
 
</style>
 
<script type="text/javascript">
 
 
 
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="RedirectServlet?action=&success=m1_podcasts.jsp&error=/m1_main.jsp"><font color="333333">All</font></a>'
menu1[2]='<a href="RedirectServlet?action=&success=m1_learning_interviews.jsp&error=/m1_main.jsp"><font color="333333">Masters</font></a>'
menu1[3]='<a href="RedirectServlet?action=&success=m1_learning_finance.jsp&error=/m1_main.jsp"><font color="333333">Financial</font></a>'
menu1[4]='<a href="RedirectServlet?action=&success=m1_learning_business.jsp&error=/m1_main.jsp"><font color="333333">Business</font></a>'
menu1[5]='<a href="RedirectServlet?action=&success=m1_learning_health.jsp&error=/m1_main.jsp"><font color="333333">Health</font></a>'
menu1[5]='<a href="RedirectServlet?action=&success=m1_learning_legal.jsp&error=/m1_main.jsp"><font color="333333">Legal</font></a>'
menu1[6]='<a href="RedirectServlet?action=&success=m1_learning_woir.jsp&error=/m1_main.jsp"><font color="333333">World of Ideas Report</font></a>'
menu1[7]='<a href="RedirectServlet?action=&success=m1_learning_drpaul.jsp&error=/m1_main.jsp"><font color="333333">Live on Purpose</font></a>'
 
//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="RedirectServlet?action=&success=m1_news.jsp&error=/m1_main.jsp"><font color="333333">All</font></a>'
menu2[1]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_main.jsp<font color="333333">GivGet</font></a>'
menu2[2]='<a href="SearchBizConnectServlet?action=&success=m1_biz_connect_key.jsp&error=/m1_main.jsp<font color="333333">Business Search</font></a>'
menu2[3]='<a href="RedirectServlet?action=&success=m1_media_email.jsp&error=/m1_main.jsp"><font color="333333">Free Email</font></a>'
menu2[4]='<a href="RedirectServlet?action=&success=m1_media_wod.jsp&error=/m1_main.jsp"><font color="333333">World of Ideas Opportunity</font></a>'
menu2[4]='<a href="DynamicPagesServlet?action=&success=m1_dynamic_start.jsp&error=/m1_main.jsp"><font color="333333">Instant Sites</font></a>'
 
//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="RedirectServlet?action=&success=m1_resources.jsp&error=/m1_main.jsp"><font color="333333">All</font></a>'
menu3[1]='<a href="RedirectServlet?action=&success=m1_resources_articles.jsp&error=/m1_main.jsp"><font color="333333">Articles</font></a>'
menu3[2]='<a href="RedirectServlet?action=&success=m1_media_templates2.jsp&error=/m1_main.jsp"><font color="333333">Website Templates</font></a>'
menu3[3]='<a href="RedirectServlet?action=&success=m1_resources_logos.jsp&error=/m1_main.jsp"><font color="333333">Logo Templates</font></a>'
menu3[4]='<a href="RedirectServlet?action=&success=m1_media_bonus.jsp&error=/m1_main.jsp"><font color="333333">Business Forms</font></a>'
 
//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_main.jsp<font color="333333">GivGet</font></a>'
menu4[1]='<a href="GivGetResourcesServlet?action=&success=m1_my_account_resources.jsp&error=/m1_main.jsp<font color="333333">Give</font></a>'
menu4[2]='<a href="SearchGivGetServlet?action=&success=m1_givget.jsp&error=/m1_main.jsp"><font color="333333">Get</font></a>'
 
//Contents for menu 5
var menu5=new Array()
menu4[0]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_main.jsp<font color="333333">GivGet</font></a>'
menu4[1]='<a href="GivGetResourcesServlet?action=&success=m1_my_account_resources.jsp&error=/m1_main.jsp<font color="333333">Give</font></a>'
menu4[2]='<a href="SearchGivGetServlet?action=&success=m1_givget.jsp&error=/m1_main.jsp"><font color="333333">Get</font></a>'
		
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
 
/////No further editting needed
 
var ie4=document.all
var ns6=document.getElementById&&!document.all
 
if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
 
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
 
 
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
 
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
 
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}
 
function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}
 
 
function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
 
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
 
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
 
return clickreturnvalue()
}
 
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}
 
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
 
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
 
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}
 
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
 
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
 
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
 
</script>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" 
onLoad="MM_preloadImages(
'images/main_members_over_01.jpg',
'images/main_members_over_02.jpg',
'images/main_members_over_03.jpg',
'images/main_members_over_04.jpg',
'images/main_members_over_05.jpg',
'images/main_members_over_06.jpg',
'images/main_members_over_07.jpg',
'images/main_members_over_08.jpg',
'images/main_members_over_09.jpg'
)">
<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;
}
//-->
</script>
<div align="center">
<br><TABLE WIDTH=1000 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<TR>
		<TD><a href="RedirectServlet?action=&success=m1_main.jsp&error=/m1_main.jsp" target="_parent" onMouseOver="MM_swapImage('Image101','','images/main_members_over_01.jpg',101)" onMouseOut="MM_swapImgRestore()">
 
			<IMG SRC="images/main_members_01.jpg" WIDTH=158 HEIGHT=38 ALT="" name="Image101" border="0"></a></TD>
		<TD><a href="RedirectServlet?action=&success=m1_podcasts.jsp&error=/m1_main.jsp" target="_parent" onMouseover="dropdownmenu(this, event, menu1, '150px'); MM_swapImage('Image102','','images/main_members_over_02.jpg',102)" onMouseout="delayhidemenu(); MM_swapImgRestore()">
			<IMG SRC="images/main_members_02.jpg" WIDTH=125 HEIGHT=38 ALT="" name="Image102" border="0"></a></TD>
		<TD><a href="RedirectServlet?action=&success=m1_news.jsp&error=/m1_main.jsp" target="_parent" onMouseOver="dropdownmenu(this, event, menu2, '150px'); MM_swapImage('Image103','','images/main_members_over_03.jpg',103)" onMouseout="delayhidemenu(); MM_swapImgRestore()">
			<IMG SRC="images/main_members_03.jpg" WIDTH=74 HEIGHT=38 ALT="" name="Image103" border="0"></a></TD>
		<TD><a href="RedirectServlet?action=&success=m1_resources.jsp&error=/m1_main.jsp" target="_parent" onMouseOver="dropdownmenu(this, event, menu3, '150px'); MM_swapImage('Image104','','images/main_members_over_04.jpg',104)" onMouseout="delayhidemenu(); MM_swapImgRestore()">
			<IMG SRC="images/main_members_04.jpg" WIDTH=111 HEIGHT=38 ALT="" name="Image104" border="0"></a></TD>
		<TD><a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_main.jsp" target="_parent" onMouseOver="dropdownmenu(this, event, menu4, '150px'); MM_swapImage('Image105','','images/main_members_over_05.jpg',105)" onMouseout="delayhidemenu(); MM_swapImgRestore()">
			<IMG SRC="images/main_members_05.jpg" WIDTH=88 HEIGHT=38 ALT="" name="Image105" border="0"></a></TD>
 
		<TD><a href="RedirectServlet?action=&success=m1_support.jsp&error=/m1_main.jsp" target="_parent" onMouseOver="MM_swapImage('Image106','','images/main_members_over_06.jpg',1056)" onMouseOut="MM_swapImgRestore()">
			<IMG SRC="images/main_members_06.jpg" WIDTH=80 HEIGHT=38 ALT="" name="Image106" border="0"></a></TD>
		<TD><a href="MyMessagesServlet?action=&success=m1_messages.jsp&error=/m1_main.jsp" target="_parent" onMouseOver="MM_swapImage('Image107','','images/main_members_over_07.jpg',107)" onMouseOut="MM_swapImgRestore()">
			<IMG SRC="images/main_members_07.jpg" WIDTH=107 HEIGHT=38 ALT="" name="Image107" border="0"></a></TD>
		<TD><a href="GivGetResourcesServlet?action=&success=m1_my_account.jsp&error=/m1_main.jsp" target="_parent" onMouseOver="MM_swapImage('Image108','','images/main_members_over_08.jpg',108)" onMouseOut="MM_swapImgRestore()">
			<IMG SRC="images/main_members_08.jpg" WIDTH=108 HEIGHT=38 ALT="" name="Image108" border="0"></a></TD>
		<TD><a href="LogoffServlet?action=&success=index.jsp&error=/m1_main.jsp" target="_parent" onMouseOver="MM_swapImage('Image109','','images/main_members_over_09.jpg',109)" onMouseOut="MM_swapImgRestore()">
			<IMG SRC="images/main_members_09.jpg" WIDTH=149 HEIGHT=38 ALT="" name="Image109" border="0"></a></TD>
	</TR>
 
	<TR>
		<TD COLSPAN=9 WIDTH=1000 valign="top"><br><br>
		
<table width="100%" cellpadding="0" cellspacing="0">
 <tr>
  <td valign="top" align="left">&nbsp;
    <span class="style39">Member's Area</span><br>&nbsp;
	<span class="style15 style35">Welcome Shaye Larsen</span><br><br>
	
 
 
 
<link rel="stylesheet" href="jquery/plugins/gradient/gradient.css" type="text/css">
<script type="text/javascript" src="jquery/plugins/gradient/gradient.js"></script>
<script type="text/javascript" src="jquery/jquery.js"></script>
 
<script type="text/javascript" src="jquery/jquery-1.2.6.js"></script>
<!-- <script type="text/javascript" src="jquery/plugins/jquery.corner.js"></script>
<script type="text/javascript">  // The code tags have the actual code, which is applied to the div
  $(document).ready(function(){
    $(".corner").corner("top 10px");
  });
</script> -->
 
<script type="text/javascript" src="includes/DD_roundies.js"></script>
<script>
    DD_roundies.addRule('#corner', 10);
</script>
 
<div style="padding-top:15px;" class="gradient C8D5FF FFFFFF vertical foo" id="corner">
 
		
<table height="350" width="100%" cellpadding="0" cellspacing="0">
  <tr>
  <td width="20">&nbsp;
  </td>
     <td width="200" valign="top" align="left">
	  
 	<table align="right" width="100%" cellpadding="4" cellspacing="0">
	   <tr>
	    <td valign="top" background="images/bar_bg_purple.jpg" height="30" align="left">
	      <span class="style4">&nbsp;&nbsp;Shaye Larsen's Account</span>		</td>
 
	   </tr>
	   <tr>
	    <td align="left" bgcolor="#FFFFFF" class="style12" style="border-bottom-style:solid; border-bottom-width: 1px; border-bottom-color:#999999; border-right-style:solid; border-right-width: 1px; border-right-color:#999999; border-left-style:solid; border-left-width: 1px; border-left-color:#999999;">
 
 
		<strong>
		<span class="style1">GivGet Database</span><br>
	   <a class="style12" href="GivGetResourcesServlet?action=&success=m1_my_account_resources.jsp&error=/m1_main.jsp">Give More to GivGet</a>
	  <br><br>
 
	   <a class="style12" href="SearchGivGetServlet?action=&success=m1_givget.jsp&error=/m1_main.jsp">Get More from GivGet</a>
	  <br><br>
		
		<span class="style1">Messages</span><br>
		
	   <a class="style12" href="MyMessagesServlet?action=&success=m1_messages.jsp&error=/m1_main.jsp">My Partner Messages</a>
	  <br><br>
	  
		<span class="style1">My Account</span><br>
		<a class="style12" href="GivGetResourcesServlet?action=&success=m1_my_account.jsp&error=/m1_main.jsp">Access Account Info</a>
 
		
		<br><br></strong>
		</td>
	   </tr>
	   <tr>
	    <td>&nbsp;<br></td>
	   </tr>
	   <tr>
	    <td valign="top" background="images/bar_bg_gray.jpg" height="30" align="left">
	      <span class="style4">&nbsp;&nbsp;Idea Quote</span>		</td>
 
	   </tr>
	   <tr>
	    <td align="left" bgcolor="#FFFFFF" class="style12" style="border-bottom-style:solid; border-bottom-width: 1px; border-bottom-color:#999999; border-right-style:solid; border-right-width: 1px; border-right-color:#999999; border-left-style:solid; border-left-width: 1px; border-left-color:#999999;">
		<strong>
		<span class="style1">Thomas A. Edison</span><br><br>
<em>"To have a great idea, have a lot of them."</em>
		<br><br></strong>
		</td>
 
	   </tr>
	  </table>
 
  </td>
  <td width="20">&nbsp;
  </td>
  <td width="490" valign="top">
 
 
  <TABLE WIDTH=490 BORDER=0 CELLPADDING=0 CELLSPACING=0>
 
	<TR>
		<TD COLSPAN=3>
			<IMG SRC="images/blk_table_01.gif" WIDTH=490 HEIGHT=8 ALT=""></TD>
	</TR>
	<TR>
		<TD ROWSPAN=3>
			<IMG SRC="images/blk_table_02.gif" WIDTH=27 HEIGHT=242 ALT=""></TD>
		<TD bordercolor="#000000" valign="top" align="right" background="images/blk_table_03.gif" WIDTH=446 HEIGHT=187>
	<!-- http://www.audioacrobat.com Player code BEGIN -->
 
	<div style="margin-top: 1px;" class="aaplayer"><iframe src="https://www.audioacrobat.com/playweb?audioid=P56364172629a445b03fa721cb7cc8711Yl19SlREYGp2&amp;buffer=5&amp;fc=000000&amp;pc=000000&amp;kc=000000&amp;bc=000000&amp;autoplay=1&amp;loop=1&amp;frame=0&amp;player=vp20" height="180" width="320" frameborder="0" scrolling="no"></iframe></div> 
	<!-- http://www.audioacrobat.com Player code END --></TD>
		<TD ROWSPAN=3>
			<IMG SRC="images/blk_table_04.gif" WIDTH=17 HEIGHT=242 ALT=""></TD>
	</TR>
	<TR>
		<TD valign="top" class="style39" background="images/blk_table_05.gif" WIDTH=446 HEIGHT=41>
			<div align="left"><i>Your Ideas Can Go All the Way</i></div></TD>
 
	</TR>
	<TR>
		<TD>
			<IMG SRC="images/blk_table_06.gif" WIDTH=446 HEIGHT=14 ALT=""></TD>
	</TR>
  </TABLE>
 
 
  </td>
  <td width="20">&nbsp;
 
  </td>
  <td width="250" valign="top" align="right">
 
 
	  <table width="100%" cellpadding="5" cellspacing="0" align="left">
	   <tr>
	    <td valign="middle" background="images/bar_bg_purple.jpg" height="30" align="left">
	      <span class="style4">&nbsp;&nbsp;What's New</span>		</td>
	   </tr>
 
	   <tr>
	    <td valign="top" align="left" bgcolor="#FFFFFF" class="style12" style="border-bottom-style:solid; border-bottom-width: 1px; border-bottom-color:#999999; border-right-style:solid; border-right-width: 1px; border-right-color:#999999; border-left-style:solid; border-left-width: 1px; border-left-color:#999999;">
		<span class="style1">Resources</span><br>
		Check out the new 
		<a class="style12" href="RedirectServlet?action=&success=m1_resources.jsp&error=/m1_main.jsp"><strong>Resource Section</strong></a> 
		including new articles.
		<br><br>
		<span class="style1">Knowledge</span><br>
		Learn about <a class="style12" href="m1_learning_business.jsp"><strong>branding</strong></a> with Ross Moore as he interviews Chris Stazer a branding specialist.
		<br><br>
 
		IdeaOrbit is pleased to announce patent attorney Brent Burningham will start a legal advice call for the community.
		<br><br>
		Amy Dixon begins the <a class="style12" href="m1_learning_health.jsp"><strong>Capture Your Moment in Fitness Call</strong></a> for the IdeaOrbit community.
		<br><br>
		Newly added: Peter Jeppson trains IdeaOrbit members on <a class="style12" href="m1_learning_finance.jsp"><strong>Creating a Debt Plan</strong></a>.
		<br><br>
		<span class="style1">GivGet Database</span><br>
 
		GivGet reaches over 200 available resources.
		<br><br>
		</td>
	   </tr>
	  </table>
 
 
	</td>
	 <td width="20">&nbsp;</td>
	</tr>
 
  </table>
 </div>
		</td>
	</tr>
</table>
	</td>
	   </tr>
	<TR>
		<TD align="left" COLSPAN=9 WIDTH="1000" HEIGHT=24>
 
		 <table cellpadding="0" cellspacing="0" bgcolor="#CCCCCC" align="left" COLSPAN=9 WIDTH="1000" HEIGHT=24>
		  <tr>
		   <td class="style8">
&nbsp;&copy;2008 Prosperity Idea International, LLC.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a class="style3" target="blank" href="terms.jsp">Terms of Use</a> |
<a class="style3" target="blank" href="disclaimer.jsp">Disclaimers</a> |
<a class="style3" target="blank" href="privacy.jsp">Privacy Policy</a>
		   </td>
 
		  </tr>
		 </table>
		</TD>
	</TR>
 
<!-- 	<TR>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=158 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=125 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=93 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=11 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=59 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=97 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=98 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=102 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=257 HEIGHT=1 ALT=""></TD>
	</TR> -->
</TABLE>
<br><br><br>
</body>
</html>

Open in new window

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23227246
Here is the generated code for the container page.  It has the iframes including the iframe container.
<html>
<head>
<link rel="stylesheet" href="includes/dropdown.css" type="text/css" />
<script type="text/javascript" src="includes/dropdown.js"></script>
<style type="text/css">
 
#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 11px Arial;
line-height:18px;
z-index:9999;
}
 
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
z-index:9999;
}
 
#dropmenudiv a:hover{ /*hover background color*/
background-color: #D3D6FF;
}
 
</style>
 
<script type="text/javascript">
 
 
 
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="RedirectServlet?action=&success=m1_podcasts.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">All</font></a>'
menu1[2]='<a href="RedirectServlet?action=&success=m1_learning_interviews.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Masters</font></a>'
menu1[3]='<a href="RedirectServlet?action=&success=m1_learning_finance.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Financial</font></a>'
menu1[4]='<a href="RedirectServlet?action=&success=m1_learning_business.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Business</font></a>'
menu1[5]='<a href="RedirectServlet?action=&success=m1_learning_health.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Health</font></a>'
menu1[5]='<a href="RedirectServlet?action=&success=m1_learning_legal.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Legal</font></a>'
menu1[6]='<a href="RedirectServlet?action=&success=m1_learning_woir.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">World of Ideas Report</font></a>'
menu1[7]='<a href="RedirectServlet?action=&success=m1_learning_drpaul.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Live on Purpose</font></a>'
 
//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="RedirectServlet?action=&success=m1_news.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">All</font></a>'
menu2[1]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">GivGet</font></a>'
menu2[2]='<a href="SearchBizConnectServlet?action=&success=m1_biz_connect_key.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">Business Search</font></a>'
menu2[3]='<a href="RedirectServlet?action=&success=m1_media_email.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Free Email</font></a>'
menu2[4]='<a href="RedirectServlet?action=&success=m1_media_wod.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">World of Ideas Opportunity</font></a>'
menu2[4]='<a href="DynamicPagesServlet?action=&success=m1_dynamic_start.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Instant Sites</font></a>'
 
//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="RedirectServlet?action=&success=m1_resources.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">All</font></a>'
menu3[1]='<a href="RedirectServlet?action=&success=m1_resources_articles.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Articles</font></a>'
menu3[2]='<a href="RedirectServlet?action=&success=m1_media_templates2.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Website Templates</font></a>'
menu3[3]='<a href="RedirectServlet?action=&success=m1_resources_logos.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Logo Templates</font></a>'
menu3[4]='<a href="RedirectServlet?action=&success=m1_media_bonus.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Business Forms</font></a>'
 
//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">GivGet</font></a>'
menu4[1]='<a href="GivGetResourcesServlet?action=&success=m1_my_account_resources.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">Give</font></a>'
menu4[2]='<a href="SearchGivGetServlet?action=&success=m1_givget.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Get</font></a>'
 
//Contents for menu 5
var menu5=new Array()
menu4[0]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">GivGet</font></a>'
menu4[1]='<a href="GivGetResourcesServlet?action=&success=m1_my_account_resources.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">Give</font></a>'
menu4[2]='<a href="SearchGivGetServlet?action=&success=m1_givget.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Get</font></a>'
		
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
 
/////No further editting needed
 
var ie4=document.all
var ns6=document.getElementById&&!document.all
 
if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
 
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
 
 
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
 
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
 
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}
 
function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}
 
 
function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
 
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
 
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
 
return clickreturnvalue()
}
 
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}
 
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
 
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
 
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}
 
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
 
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
 
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
 
 
</script>
 
 
 
 
 
</head>
 
 
<style type="text/css">
 
/*instant site drop down style - links */
span.select { 
 
  width: 100%; /* With the padding included, the width is 190 pixels: the actual width of the image. */ 
 
  color: #fff; 
  opacity: 0;
  filter: alpha(opacity=0);
  font: 12px/21px arial,sans-serif;
  
  
  /*background: url(select.gif) no-repeat;*/ 
  overflow: auto; 
} 
 
/* save buttons */
.button {
width:200px; height:40px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:10px; color: #330066; vertical-align:middle;
}
 
.style1 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #666666; line-height:16px}
 
/* Members area sub header: Under BIG header style2a */
.style1a {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 16px; color: #666666; line-height:16px}
 
/* Image stock preview, no image area */
.style1b {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 16px; color: #999999; line-height:16px}
 
.style2 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #330066; }
 
/* Members area top BIG header */
.style2a {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 50px; color: #330066; }
 
/* Members area - second level header */
.style2b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; color: #330066; }
a.style2b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; text-decoration:none; color: #330066; }
a.style2b:hover {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; text-decoration:none; color: #330066; }
/* Members area - third level header */
.style2c {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 16px; color: #330066; }
 
.style3 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333; }
a.style3 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#533981; text-decoration:none; font-size: 10px; }
a.style3:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#000000; font-size: 10px; }
 
/* Instant site title bar text */
.style4 {color: #FFFFFF;font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 12px;}
 
/* Under gray bar, instant sites site link */
.style4a {color:#330066; font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 14px; font-weight: bold;}
 
/* Quicklink green button */
.style4b {color: #FFFFFF; font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; }
a.style4b {color: #FFFFFF;font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; text-decoration:none}
a.style4b:hover {color:#FFFF99;font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; text-decoration:none}
 
/* instant site manage area title of site */
.style4c {color:#242424; font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px; font-weight: bold;}
 
.style5 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; color: #FF0000; }
.style6 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FF0000; }
a.style6 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FF0000; }
.style7 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#CC0000 }
.style8 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333; }
a.style8 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#134583; text-decoration:none; font-size: 10px; }
a.style8:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#7E95FE; font-size: 10px; }
 
/* Main base font for entire site */
.style9 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#666666 }
a.style9 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 12px; }
a.style9:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#660000; font-size: 12px; }
 
.style10 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; text-decoration:none; font-size: 12px; }
a.style10 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; text-decoration:underline; font-size: 12px; }
a.style10:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#7E95FE; text-decoration:underline; font-size: 12px; }
 
/* Members area - Main link design */
.style11 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; font-size: 12px; }
a.style11 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; text-decoration:none; font-size: 12px; }
a.style11:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; text-decoration:underline; font-size: 12px; }
 
/* Members area - Main link design, manage site links - not bolded */
.style11b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-size: 12px; line-height:150% }
a.style11b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:none; font-size: 12px; line-height:150%  }
a.style11b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:underline; font-size: 12px; line-height:150% }
 
.style12 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-size: 10px; }
a.style12 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:none; font-size: 10px; cursor:pointer;cursor:hand }
a.style12:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:underline; font-size: 10px; cursor:pointer;cursor:hand }
 
 
/* instant alias on manage page */
.style12b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; font-size: 9px; vertical-align:text-top; }
a.style12b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 9px; cursor:pointer;cursor:hand;  ertical-align:text-top; }
a.style12b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:underline; font-size: 9px; cursor:pointer;cursor:hand; vertical-align:text-top; }
 
/* Expandable content styles */
.save{
   behavior:url(#default#savehistory);}
a.dsphead span.dspchar{
   font-family:monospace;
   font-weight:normal;}
.dspcont{
   display:none;
   }
/* End Expandable content styles */
 
			   
.style13 {	font-family: Geneva, Arial, Helvetica, sans-serif;	color: #000066;	font-weight: bold;}
.style14 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 14px; color: #330066; }
.style15 {	font-family: Geneva, Arial, Helvetica, sans-serif;	font-size: 12px;	color: #660000;	font-weight: bold;}
.style16 {	font-size: 14px;	font-family: Geneva, Arial, Helvetica, sans-serif;	font-weight: bold;}
.style17 {	font-family: Georgia, "Times New Roman", Times, serif;	font-size: 14px;}
.style18 {	font-size: 14px; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style19 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#330066; font-size: 12px; }
.style20 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#330066; font-size: 9px }
.style21 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #7E95FE; }
a.style21 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:none; font-weight: bold; color: #7E95FE; }
a.style21:hover {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:underline; font-weight: bold; color: #666666; }
.style22 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; font-size: 10px}
a.style22 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; font-size: 10px}
.style23 {	font-family: Georgia, "Times New Roman", Times, serif;	font-style: italic;	font-size: 14px;}
 
/* Image preview area, design edit area */
.style24 {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold;
	background-color:#FFFFFF;
	color:#990000; 
	width:297px;
	max-width:297px;
	border-width:1; 
	border-style:solid; 
	border-color:#999999; 
	position:absolute;
	overflow:hidden;
	}
.style24a {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold; 
	color:#990000; 
	border-width:1; 
	border-style:solid; 
	border-color:#999999; 
	position:absolute;
	}
 
/* Image preview area */
.style24b {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold; 
	color:#990000; 
	max-width:297px;
	border-style:solid;
	border-width:1px;
	border-color:#999999; 
	position:absolute;
	overflow:hidden;
	}
.style25 {	font-size: 8px;	font-family: Arial, Helvetica, sans-serif;}
.style27 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; color: #660000; font-weight: bold; }
.style28 {font-size: 24px; font-family: Times New Roman, Times, serif;}
.style29 {font-size: 14px; color: #660000; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style30 {color: #000066; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style31 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #666666; font-size: 10px}
a.style31 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #666666; font-size: 10px}
 
/* Members area Quick Link  - links */
.style31b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#999999; font-size: 10px}
a.style31b {font-family: Geneva, Arial, Helvetica, sans-serif; color: #999999; font-size: 10px}
a.style31b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color: #BBBBBB; font-size: 10px}
 
.style32 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px; color: #000066; }
.style33 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #333333; }
.style34 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px;}
.style35 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 12px;color: #999999; font-weight: bold;}
.style36 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #134583; }
a.style36 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:none; font-weight: bold; color: #134583; }
a.style36:hover {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:underline; font-weight: bold; color: #7E95FE; }
 
/* Members area Quick Link 2nd header */
.style36b {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #666666; }
 
.style37 {color: #FFFFFF;font-weight: bold;font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 16px;}
.style38 {font-size: 24px; font-family:"Times New Roman", Times, serif; color: #FFFFFF; }
 
/* Members area Main Page Title */
.style39 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 22px; color:#999999; }
 
.style40 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #134583; }
 
/* Members area Quick Link top header, and "or" between options */
.style40b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #666666; }
 
.style41 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#134583; font-size: 12px; }
.style42 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #134583; line-height:16px}
 
/* Select site templates */
.style43 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333 }
a.style43 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 10px; }
a.style43:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#660000; font-size: 10px; }
 
.style44 {font-family: Arial, Helvetica, sans-serif; font-size: 8px; }
.style45 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color: #330066; font-weight:bold; }
a.style45 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color: #330066; text-decoration:none; font-weight:bold; cursor:pointer;cursor:hand }
a.style45:hover {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color:#999999; text-decoration:none; font-weight:bold; cursor:pointer;cursor:hand }
.style46 {font-family: Arial, Helvetica, sans-serif;font-size: 20px;}
 
/* Instant sites pick a template */
.scrollArea
{
width: 530px;
height: 210px;
background-color:#FFFFFF;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
overflow: auto;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
scrollbar-face-color : #AC9EC1; 
scrollbar-highlight-color : #9999FF; 
scrollbar-3dlight-color : #999999;
scrollbar-darkshadow-color : #9999CC; 
scrollbar-arrow-color : #CCCCFF; 
scrollbar-shadow-color : #CCCCCC; 
scrollbar-track-color: #6A6192;
overflow-x:hidden; 
overflow-y:auto; 
}
.boxArea1
{
width: 360px;
height: 220px;
background-color:#FFFFFF;
padding: 10px;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
overflow: auto;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
}
 
 
/* Instant sites edit areas */
.editArea
{
background-color:#FFFFFF;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
width:850px;
 
}
 
 
 
input.drop1 {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
input.drop2 {background-color: #CCCCFF;}
textarea.drop {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
option.drop1 {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
option.drop2 {background-color: #CCCCFF;}
 
/* Gray out area */
#cover {
display:none;
position:absolute;
text-align: center;
background-color:gray;
filter:alpha(opacity=60);
opacity:.60;
-moz-opacity:.60;
-khtml-opacity:0.6;
vertical-align:middle;
height:100%;
width:100%;
}
/* Gray out area popup */
#dialog {
display:none;
position:absolute;
top:50%;
margin-top:-50;
left: 50%;	
width: 400px;
height: 100px;
margin-left: -200px;
margin-bottom:50%;
background:white;
padding:6px;
font:10pt tahoma;
border:6px solid gray
}
 
 
</style>
<body> 
 
 
 
<!-- Drop down site menu -->
<div style="z-index:2 ">
<dl class="dropdownpage">
  <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"></dt>
 
  <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
    <ul>
      <li><a class="underlineadd">
		<strong>CHOOSE A PAGE TO EDIT</strong></a></li>
           
				 
 
           
				 
 
           
				 
 
           
				 
 
           
				 
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone1.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
		Question?Mark44 <span class="style12">[HOME PAGE]</span></b> </a></li>
		   
 
           
				 
 
           
				 
 
           
           
				 
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=190&dynamic_pages_id=135">
 
		2Two</a></li>
           
				 
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=174&dynamic_pages_id=135">
		header</a></li>
           
				 
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=177&dynamic_pages_id=135">
		Index</a></li>
           
				 
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=195&dynamic_pages_id=135">
		Question?Mark</a></li>
 
           
				 </a></li>
           
				 
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=225&dynamic_pages_id=135">
		2Two2</a></li>
           
				 
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=227&dynamic_pages_id=135">
		Fabuso2</a></li>
           
      <li><a class="underlineadd" target="iframe_i_edit" href="m1_dynamic_layout_add.jsp">Add a New Page</a></li>
    </ul>
 
  </dd>
</dl>
</div>
<div style="clear:both" />
<!-- Drop down site menu -->
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
 
 
</body>
</html>
<!-- Frames double link script -->
<script type="text/javascript">
function doBoth2() {
frames['iframe_i_nav2'].location.href = 'DynamicPagesEditServlet?action=&success=m1_dynamic_nav2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=190&dynamic_pages_id=135';
}
 
</script>
<!-- end Frames double link script -->

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23229971
there are still some unencoded params but it seems to be only the error param that I can see.

as you're more familiar with how the page should be working, can you see any discrepencies in the generated html?

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23230037
I don't see any params not encoded.

Yes, I do see a discrepancy.  In the generated code above, you will see that the LayoutLayout has produced a "2" (which is incorrect) in the final iframe represented by editnone2.jsp

Here is the generated code again.  You will this time it is putting a "1" (which is correct) in the exact same location.

However, in both situations, it is transferring to the editnone2.jsp page.  This is weird.  Even the code shows editnone1.jsp, but it is going to editnone2.jsp.  How can it do that?

 
 
 
 
 
 
<html>
<head>
<link rel="stylesheet" href="includes/dropdown.css" type="text/css" />
<script type="text/javascript" src="includes/dropdown.js"></script>
<style type="text/css">
 
#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 11px Arial;
line-height:18px;
z-index:9999;
}
 
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
z-index:9999;
}
 
#dropmenudiv a:hover{ /*hover background color*/
background-color: #D3D6FF;
}
 
</style>
 
<script type="text/javascript">
 
 
 
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="RedirectServlet?action=&success=m1_podcasts.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">All</font></a>'
menu1[2]='<a href="RedirectServlet?action=&success=m1_learning_interviews.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Masters</font></a>'
menu1[3]='<a href="RedirectServlet?action=&success=m1_learning_finance.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Financial</font></a>'
menu1[4]='<a href="RedirectServlet?action=&success=m1_learning_business.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Business</font></a>'
menu1[5]='<a href="RedirectServlet?action=&success=m1_learning_health.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Health</font></a>'
menu1[5]='<a href="RedirectServlet?action=&success=m1_learning_legal.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Legal</font></a>'
menu1[6]='<a href="RedirectServlet?action=&success=m1_learning_woir.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">World of Ideas Report</font></a>'
menu1[7]='<a href="RedirectServlet?action=&success=m1_learning_drpaul.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Live on Purpose</font></a>'
 
//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="RedirectServlet?action=&success=m1_news.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">All</font></a>'
menu2[1]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">GivGet</font></a>'
menu2[2]='<a href="SearchBizConnectServlet?action=&success=m1_biz_connect_key.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">Business Search</font></a>'
menu2[3]='<a href="RedirectServlet?action=&success=m1_media_email.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Free Email</font></a>'
menu2[4]='<a href="RedirectServlet?action=&success=m1_media_wod.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">World of Ideas Opportunity</font></a>'
menu2[4]='<a href="DynamicPagesServlet?action=&success=m1_dynamic_start.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Instant Sites</font></a>'
 
//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="RedirectServlet?action=&success=m1_resources.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">All</font></a>'
menu3[1]='<a href="RedirectServlet?action=&success=m1_resources_articles.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Articles</font></a>'
menu3[2]='<a href="RedirectServlet?action=&success=m1_media_templates2.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Website Templates</font></a>'
menu3[3]='<a href="RedirectServlet?action=&success=m1_resources_logos.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Logo Templates</font></a>'
menu3[4]='<a href="RedirectServlet?action=&success=m1_media_bonus.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Business Forms</font></a>'
 
//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">GivGet</font></a>'
menu4[1]='<a href="GivGetResourcesServlet?action=&success=m1_my_account_resources.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">Give</font></a>'
menu4[2]='<a href="SearchGivGetServlet?action=&success=m1_givget.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Get</font></a>'
 
//Contents for menu 5
var menu5=new Array()
menu4[0]='<a href="SearchGivGetServlet?action=&success=m1_givget1.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">GivGet</font></a>'
menu4[1]='<a href="GivGetResourcesServlet?action=&success=m1_my_account_resources.jsp&error=/m1_dynamic_nav_contain.jsp<font color="333333">Give</font></a>'
menu4[2]='<a href="SearchGivGetServlet?action=&success=m1_givget.jsp&error=/m1_dynamic_nav_contain.jsp"><font color="333333">Get</font></a>'
		
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
 
/////No further editting needed
 
var ie4=document.all
var ns6=document.getElementById&&!document.all
 
if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
 
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
 
 
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
 
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
 
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}
 
function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}
 
 
function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
 
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
 
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
 
return clickreturnvalue()
}
 
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}
 
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
 
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
 
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}
 
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
 
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
 
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
 
 
</script>
 
 
 
 
 
</head>
 
 
<style type="text/css">
 
/*instant site drop down style - links */
span.select { 
 
  width: 100%; /* With the padding included, the width is 190 pixels: the actual width of the image. */ 
 
  color: #fff; 
  opacity: 0;
  filter: alpha(opacity=0);
  font: 12px/21px arial,sans-serif;
  
  
  /*background: url(select.gif) no-repeat;*/ 
  overflow: auto; 
} 
 
/* save buttons */
.button {
width:200px; height:40px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:10px; color: #330066; vertical-align:middle;
}
 
.style1 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #666666; line-height:16px}
 
/* Members area sub header: Under BIG header style2a */
.style1a {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 16px; color: #666666; line-height:16px}
 
/* Image stock preview, no image area */
.style1b {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 16px; color: #999999; line-height:16px}
 
.style2 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #330066; }
 
/* Members area top BIG header */
.style2a {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 50px; color: #330066; }
 
/* Members area - second level header */
.style2b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; color: #330066; }
a.style2b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; text-decoration:none; color: #330066; }
a.style2b:hover {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 30px; text-decoration:none; color: #330066; }
/* Members area - third level header */
.style2c {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 16px; color: #330066; }
 
.style3 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333; }
a.style3 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#533981; text-decoration:none; font-size: 10px; }
a.style3:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#000000; font-size: 10px; }
 
/* Instant site title bar text */
.style4 {color: #FFFFFF;font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 12px;}
 
/* Under gray bar, instant sites site link */
.style4a {color:#330066; font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 14px; font-weight: bold;}
 
/* Quicklink green button */
.style4b {color: #FFFFFF; font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; }
a.style4b {color: #FFFFFF;font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; text-decoration:none}
a.style4b:hover {color:#FFFF99;font-family:Georgia, "Times New Roman", Times, serif; font-size: 15px; font-weight:bold; font-style:italic; text-decoration:none}
 
/* instant site manage area title of site */
.style4c {color:#242424; font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px; font-weight: bold;}
 
.style5 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; color: #FF0000; }
.style6 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FF0000; }
a.style6 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FF0000; }
.style7 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#CC0000 }
.style8 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333; }
a.style8 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#134583; text-decoration:none; font-size: 10px; }
a.style8:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#7E95FE; font-size: 10px; }
 
/* Main base font for entire site */
.style9 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#666666 }
a.style9 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 12px; }
a.style9:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#660000; font-size: 12px; }
 
.style10 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; text-decoration:none; font-size: 12px; }
a.style10 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; text-decoration:underline; font-size: 12px; }
a.style10:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#7E95FE; text-decoration:underline; font-size: 12px; }
 
/* Members area - Main link design */
.style11 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; font-size: 12px; }
a.style11 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; text-decoration:none; font-size: 12px; }
a.style11:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-weight: bold; text-decoration:underline; font-size: 12px; }
 
/* Members area - Main link design, manage site links - not bolded */
.style11b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-size: 12px; line-height:150% }
a.style11b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:none; font-size: 12px; line-height:150%  }
a.style11b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:underline; font-size: 12px; line-height:150% }
 
.style12 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; font-size: 10px; }
.style12a {font-family: Geneva, Arial, Helvetica, sans-serif; color:#CCCCCC; font-size: 10px; }
a.style12 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:none; font-size: 10px; cursor:pointer;cursor:hand }
a.style12:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#0066CC; text-decoration:underline; font-size: 10px; cursor:pointer;cursor:hand }
 
 
/* instant alias on manage page */
.style12b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; font-size: 9px; vertical-align:text-top; }
a.style12b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 9px; cursor:pointer;cursor:hand;  ertical-align:text-top; }
a.style12b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:underline; font-size: 9px; cursor:pointer;cursor:hand; vertical-align:text-top; }
 
/* Expandable content styles */
.save{
   behavior:url(#default#savehistory);}
a.dsphead span.dspchar{
   font-family:monospace;
   font-weight:normal;}
.dspcont{
   display:none;
   }
/* End Expandable content styles */
 
			   
.style13 {	font-family: Geneva, Arial, Helvetica, sans-serif;	color: #000066;	font-weight: bold;}
.style14 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 14px; color: #330066; }
.style15 {	font-family: Geneva, Arial, Helvetica, sans-serif;	font-size: 12px;	color: #660000;	font-weight: bold;}
.style16 {	font-size: 14px;	font-family: Geneva, Arial, Helvetica, sans-serif;	font-weight: bold;}
.style17 {	font-family: Georgia, "Times New Roman", Times, serif;	font-size: 14px;}
.style18 {	font-size: 14px; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style19 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#330066; font-size: 12px; }
.style20 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#330066; font-size: 9px }
.style21 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #7E95FE; }
a.style21 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:none; font-weight: bold; color: #7E95FE; }
a.style21:hover {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:underline; font-weight: bold; color: #666666; }
.style22 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; font-size: 10px}
a.style22 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #134583; font-size: 10px}
.style23 {	font-family: Georgia, "Times New Roman", Times, serif;	font-style: italic;	font-size: 14px;}
 
/* Image preview area, design edit area */
.style24 {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold;
	background-color:#FFFFFF;
	color:#990000; 
	width:297px;
	max-width:297px;
	border-width:1; 
	border-style:solid; 
	border-color:#999999; 
	position:absolute;
	overflow:hidden;
	}
.style24a {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold; 
	color:#990000; 
	border-width:1; 
	border-style:solid; 
	border-color:#999999; 
	position:absolute;
	}
 
/* Image preview area */
.style24b {
	font-family: Geneva, Arial, Helvetica, sans-serif; 
	font-size: 12px;
	font-weight:bold; 
	color:#990000; 
	max-width:297px;
	border-style:solid;
	border-width:1px;
	border-color:#999999; 
	position:absolute;
	overflow:hidden;
	}
.style25 {	font-size: 8px;	font-family: Arial, Helvetica, sans-serif;}
.style27 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; color: #660000; font-weight: bold; }
.style28 {font-size: 24px; font-family: Times New Roman, Times, serif;}
.style29 {font-size: 14px; color: #660000; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style30 {color: #000066; font-family: Geneva, Arial, Helvetica, sans-serif;}
.style31 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #666666; font-size: 10px}
a.style31 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #666666; font-size: 10px}
 
/* Members area Quick Link  - links */
.style31b {font-family: Geneva, Arial, Helvetica, sans-serif; color:#999999; font-size: 10px}
a.style31b {font-family: Geneva, Arial, Helvetica, sans-serif; color: #999999; font-size: 10px}
a.style31b:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color: #BBBBBB; font-size: 10px}
 
.style32 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px; color: #000066; }
.style33 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #333333; }
.style34 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 18px;}
.style35 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 12px;color: #999999; font-weight: bold;}
.style36 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #134583; }
a.style36 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:none; font-weight: bold; color: #134583; }
a.style36:hover {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; text-decoration:underline; font-weight: bold; color: #7E95FE; }
 
/* Members area Quick Link 2nd header */
.style36b {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #666666; }
 
.style37 {color: #FFFFFF;font-weight: bold;font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 16px;}
.style38 {font-size: 24px; font-family:"Times New Roman", Times, serif; color: #FFFFFF; }
 
/* Members area Main Page Title */
.style39 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 22px; color:#999999; }
 
.style40 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #134583; }
 
/* Members area Quick Link top header, and "or" between options */
.style40b {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 24px; color: #666666; }
 
.style41 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#134583; font-size: 12px; }
.style42 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #134583; line-height:16px}
 
/* Select site templates */
.style43 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color:#333333 }
a.style43 {font-family: Geneva, Arial, Helvetica, sans-serif; color:#666666; text-decoration:none; font-size: 10px; }
a.style43:hover {font-family: Geneva, Arial, Helvetica, sans-serif; color:#660000; font-size: 10px; }
 
.style44 {font-family: Arial, Helvetica, sans-serif; font-size: 8px; }
.style45 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color: #330066; font-weight:bold; }
a.style45 {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color: #330066; text-decoration:none; font-weight:bold; cursor:pointer;cursor:hand }
a.style45:hover {font-family: Geneva, Arial, Helvetica, sans-serif;font-size: 20px; color:#999999; text-decoration:none; font-weight:bold; cursor:pointer;cursor:hand }
.style46 {font-family: Arial, Helvetica, sans-serif;font-size: 20px;}
 
/* Instant sites pick a template */
.scrollArea
{
width: 530px;
height: 210px;
background-color:#FFFFFF;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
overflow: auto;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
scrollbar-face-color : #AC9EC1; 
scrollbar-highlight-color : #9999FF; 
scrollbar-3dlight-color : #999999;
scrollbar-darkshadow-color : #9999CC; 
scrollbar-arrow-color : #CCCCFF; 
scrollbar-shadow-color : #CCCCCC; 
scrollbar-track-color: #6A6192;
overflow-x:hidden; 
overflow-y:auto; 
}
.boxArea1
{
width: 360px;
height: 220px;
background-color:#FFFFFF;
padding: 10px;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
overflow: auto;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
}
 
 
/* Instant sites edit areas */
.editArea
{
background-color:#FFFFFF;
border-style: solid;
border-color:#CCCCCC;
border-width: 1;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
width:850px;
 
}
 
 
 
input.drop1 {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
input.drop2 {background-color: #CCCCFF;}
textarea.drop {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
option.drop1 {background-color: #9999CC; font-weight: bold; font-size: 12px; color: white;}
option.drop2 {background-color: #CCCCFF;}
 
/* Gray out area */
#cover {
display:none;
position:absolute;
text-align: center;
background-color:gray;
filter:alpha(opacity=60);
opacity:.60;
-moz-opacity:.60;
-khtml-opacity:0.6;
vertical-align:middle;
height:100%;
width:100%;
}
/* Gray out area popup */
#dialog {
display:none;
position:absolute;
top:50%;
margin-top:-50;
left: 50%;	
width: 400px;
height: 100px;
margin-left: -200px;
margin-bottom:50%;
background:white;
padding:6px;
font:10pt tahoma;
border:6px solid gray
}
 
 
</style>
<body> 
 
 
 
<!-- Drop down site menu -->
<div style="z-index:2 ">
<dl class="dropdownpage">
  <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"></dt>
 
  <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
    <ul>
      <li><a class="underlineadd">
		<strong>CHOOSE A PAGE TO EDIT</strong></a></li>
           
				 
      <li><a class="underline" target="iframe_i_edit" onclick="doBoth2();" href="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone1.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
		Question?Mark44 <span class="style12">[HOME PAGE]</span></b> </a></li>
		   
 
           
           
				 </a></li>
 
           
      <li><a class="underlineadd" target="iframe_i_edit" href="m1_dynamic_layout_add.jsp">Add a New Page</a></li>
    </ul>
  </dd>
</dl>
</div>
<div style="clear:both" />
<!-- Drop down site menu -->
 
<iframe name="iframe_i_nav2" scrolling="no" frameborder="0" width="100%" height="30" align="top" src="DynamicLayoutsEditServlet?action=&success=m1_dynamic_nav2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="DynamicLayoutsEditServlet?action=&success=0001%2Feditnone1.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135">
If you can see this, your browser does not support iframes!
</iframe>
 
</body>
</html>
<!-- Frames double link script -->
<script type="text/javascript">
function doBoth2() {
frames['iframe_i_nav2'].location.href = 'DynamicPagesEditServlet?action=&success=m1_dynamic_nav2.jsp&error=%2Fm1_dynamic_nav_contain.jsp&dynamic_layouts_id=223&dynamic_pages_id=135';
}
</script>
<!-- end Frames double link script -->

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 23230095
> I don't see any params not encoded.

menu1[0]='<a href="RedirectServlet?action=&success=m1_podcasts.jsp&error=/m1_dynamic_nav_contain.jsp"
 class="style12" href="RedirectServlet?action=&success=m1_resources.jsp&error=/m1_main.jsp"><

/ is not a valid character, and requires encoding

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23230113
Oh, that is from an include file.  Should i repeat this process for all include files?  Would be quite a project.
0
 
LVL 92

Expert Comment

by:objects
ID: 23230167
> However, in both situations, it is transferring to the editnone2.jsp page.  This is weird.  Even the code shows editnone1.jsp, but it is going to editnone2.jsp.

they are params to a servlet. what does the servlet code look like?

0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23230211
The servlet code is posted above.

12.20.2008 at 02:05PM MST, ID: 23219637
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 23256519
K, my programmer solved this one.  It was a simple matter of placing the desired response bean in side the main response bean call.

See code.
<iframe name="iframe_i_edit" frameborder="0" width="100%" height="400" align="top" src="<%= response.encodeURL("DynamicLayoutsEditServlet?action=&success="+URLEncoder.encode(ResponseBean.getDynamicPagesTemplateReference(0)+"/editnone"+ResponseBean.getDynamicLayoutsLayoutByLayoutId(ResponseBean.getSiteHomepageReference(0))+".jsp", "UTF-8")+"&error="+URLEncoder.encode(request.getServletPath(), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicLayoutsEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_LAYOUT_ID+"="+URLEncoder.encode(ResponseBean.getSiteHomepageReference(0), "UTF-8")+"&"+com.ideaorbit.servlets.DynamicPagesEditServlet.HTTP_REQUEST_FIELD_KEY_ABOUT_PAGE_ID+"="+URLEncoder.encode(ResponseBean.getDynamicPagesID(0), "UTF-8") ) %>">
If you can see this, your browser does not support iframes!
</iframe>

Open in new window

0
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 23259730
that code also includes changes that I suggested :)

0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question