Need help from expert people in how to integrate map to OBIE
Hello Guys, i'm realy apreciate who help me in give some hints about this code that i comment it in line (42) from the code.
where i dont know where to get states_sample.xml file from this line :
//where the dynamically generated BI data can be found
ps["xml_url"] = "http://localhost:9704/mapviewer/epa/nsdp/states_sample.xml";
can any of you please give me hint in how to fix this problem or tell me where to get file or source code for that file :) ....
and who want to know full document regarding to my question about code he can check it here on this link on PAGE 14 :
http://www.oracle.com/technology/products/mapviewer/pdf/mapviewer_obiee.pdf
or Atlease some of you give me link of full LABs (workshop) regarding to this Document mapviewer_obiee.pdf .
best regard
Yusuf Felemban
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>StatesDemo2</title>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="Javascript" src="oraclemaps.js"></script>
<script language=javascript>
var mapview;
var dynStatesFOI;
function showMap()
var baseURL = "http://localhost:9704/mapviewer";
var mapCenterLon = -96;
var mapCenterLat = 37;
var mapZoom = 0;
var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8265);
mapview = new MVMapView(document.getElementById("map"), baseURL);
mapview.addBaseMapLayer(new MVBaseMap("mvdemo_plg.us_map_yus"));
mapview.addNavigationPanel("WEST",null,false,null);
mapview.setCenter(mpoint);
mapview.setZoomLevel(mapZoom);
mapview.addScaleBar();
dynStatesFOI = new MVThemeBasedFOI('dynStatesFOI', 'mvdemo_plg.stat_test');
dynStatesFOI.setRenderingStyle("C.COUNTIES");
setupNsdp(dynStatesFOI);
setupDynamicStyles(dynStatesFOI, -50, -10, 0);
mapview.addThemeBasedFOI(dynStatesFOI);
mapview.display();
function setupNsdp(dynStatesFOI)
//default NSDP is always available with MapViewer 10.1.3.1 production
var nsdpInfo = new MVNSDP("defaultNSDP");
nsdpInfo.setTheme("STATE_TEST"); //the base theme
nsdpInfo.setKeyColumn("STATE"); //'match' column in the base table of the theme
nsdpInfo.setRenderStyle("C.COUNTIES"); //default style;
var ps = new Object();
//where the dynamically generated BI data can be found
ps["xml_url"] = "http://localhost:9704/mapviewer/epa/nsdp/states_sample.xml"; // <== Don’t know where to get states_sample.xml file
nsdpInfo.setParameters(ps);
//this tells mapviewer to join the BI data with the theme
dynStatesFOI.setNSDP(nsdpInfo);
//setups the dynamically created advanced style to
//be used by the theme-based FOI.
function setupDynamicStyles(dynStatesFOI,val1, val2, val3)
//create basic colors to be used
var sc1 = new MVStyleColor("color1", "00FF00", "666666");
var sc2 = new MVStyleColor("color2", "00FF00", "666666");
var sc3 = new MVStyleColor("color3", "FFFF00", "666666");
var sc4 = new MVStyleColor("color4", "FF0000", "666666");
sc1.setFillOpacity(60);
sc2.setFillOpacity(60);
sc3.setFillOpacity(60);
sc4.setFillOpacity(60);
//create individual ranged buckets
var buckets = new Array(4);
buckets[0] = new MVNumericRangedBucket(-500, val1, "color1", "range1");
buckets[1] = new MVNumericRangedBucket(val1, val2, "color2", "range2");
buckets[2] = new MVNumericRangedBucket(val2, val3, "color3", "range3");
buckets[3] = new MVNumericRangedBucket(val3, null, "color4", "range4");
var bseries = new MVBucketSeries("SCHEME_CUSTOM");
bseries.setBuckets(buckets);
var bucketSty = new MVBucketStyle("region_colors", bseries);
//add all the primitive color styles we just created
dynStatesFOI.addStyle(sc1);
dynStatesFOI.addStyle(sc2);
dynStatesFOI.addStyle(sc3);
dynStatesFOI.addStyle(sc4);
//now add the bucket style
dynStatesFOI.addStyle(bucketSty);
dynStatesFOI.setRenderingStyle("region_colors");
</script>
</head>
<body onload=javascript:showMap();>
<div id="map" style="height:500.0pt;"/>
</body>
</html>
Edited by: user547202 on 11/11/2008 10:26 م
thanks for passing this link Stijin,
http://oraclebizint.wordpress.com/2007/09/25/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase1/
http://oraclebizint.wordpress.com/2007/09/26/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase2-phase3/
i already used this, but we need at least full explanation in how to build OBIE presentations layers and its physical and logical datas , and how to write codes using Java scrips and html codes using OBIE presentation on statistics text.
if any of you just can link me link regarding to workshop lab's documentations and files regarding to OBIEE integrated to Mapviewer.
with fully respect and love to you all,
Yusuf Felemban
Similar Messages
-
Need help from experts with process of printing Payroll Checks in-House
Appreciate any information on below issues please.
We upgraded from 4.0 to 4.7
1. For some reason 10 Direct Deposit advises get destroyed and need to be reprint only those 10, instead of whole 2000
2. Is there a way to change payment method (T-C without modifying IT 0009, used report RPTTKM40 for this in 4.0 version) for certain people and pay thru DME
3. Do you print 401K/Deferred Comp % on remuneration statement as ANZHL is no more populated in payroll cluster after 4.7? If Yes how do you get the ANZHL values.I am not sure if this would be a fix for you, but a glimmer of hope shines from this link,
http://www.friday.com/bbum/2006/02/20/recovering-disk-images-with-diskwarrior/ -
OBIEE integrated to Mapviewer , need advice from expert people in my codes
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><!--[if gte mso 9]><xml>
Normal
0
false
false
false
MicrosoftInternetExplorer4
</xml><![endif]--><!--[if gte mso 9]><xml>
</xml><![endif]--><!--[if !mso]>
<object
classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui>
</object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}
</style>
<![endif]-->
Based on Example : [http://www.oracle.com/technology/products/mapviewer/pdf/mapviewer_obiee.pdf|blocked::http://www.oracle.com/technology/products/mapviewer/pdf/mapviewer_obiee.pdf]
*1- Using OBIEE , I create report with two fields and it's filter on
field Region:*
Region , Population
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><!--[if gte mso 9]><xml>
Normal
0
false
false
false
MicrosoftInternetExplorer4
</xml><![endif]--><!--[if gte mso 9]><xml>
</xml><![endif]-->
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}
</style>
<![endif]-->
On OBIEE Answers: Statistic Text , I wrote this codes :
<!-div id must match arg in js call at bottom of code listing -->
<div id="EPAmapNode1"></div>
<script>
function readCookie(name) {
//this pulls authentication out of header
//which replaces needing to pass user/pwd
to authenticate (i.e. like SSO or trusted sign on)
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca;
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
return null;
function obiee_mapint_doTheDeed(nodeId) {
var container = document.getElementById(nodeId);
var sid = null;
var x = container;
do {
if (x.nodeName == 'TD' || x.nodeName == 'DIV') {
sid = x.getAttribute('sid');
if (sid != null && sid != '')
break;
x = x.parentNode;
while (x != null);
if (sid != null && sid != '') {
// create the iframe for content
var nid = readCookie('nQuireID')
if (nid) {
var iframe = document.createElement('iframe');
iframe.src =
'http://192.168.100.143:8991/yusufMap-ViewController-context-root/BIMapPage.html?sid='
+ encodeURIComponent(sid) + '&nqid=' + nid;
// following nsdp is subsequently called
from Mapviewer page
// passing sid and nqid to get results to
serve as nsdp data as xml
// ps["xml_url"] = "http://"+document.location.host+"/mapviewer/_epa/obiee_nsdp_xml_direct.jsp?nqid="
+
// urlParamNQID + "&sid=" +
urlParamSID;
iframe.height = 260;
iframe.width = 600;
iframe.frameBorder = 0;
iframe.marginHeight = 1;
iframe.marginWidth = 1;
container.appendChild(iframe);
obiee_mapint_doTheDeed('EPAmapNode1');
// js fn, EPAmapNode1 is id for this map in
dashbd
</script>
*2-Source code of
custom JSP to convert Answers Filtered XML into NSDP XML: obiee_nsdp_xml_direct.jsp*
<%@ page
language="java" session="true"
isThreadSafe="true" contentType="text/html; charset=UTF-8"
%>
<%@ page
import="javax.xml.parsers.*"%>
<%@ page
import="java.net.*"%>
<%@ page
import="java.io.*"%>
<%@ page
import="org.w3c.dom.*"%>
<%
Sample jsp code file to demonstrate one way to convert Answers xml to
MapViewer's NSDP xml
set the character encoding to UTF-8 prior to accessing
data in the request
request.setCharacterEncoding("UTF-8");
%>
<%
// RETRIEVE THE QUERY
STRING PARAMETERS
String userName =
request.getParameter("uid");
String userPassword =
request.getParameter("password");
String thesid =
request.getParameter("sid");
String nq_id =
request.getParameter("nqid");
if (userName == null) {
userName =
"mvdemo";
if (userPassword == null)
userPassword =
"mvdemo";
Document domDoc = null;
String fieldName = null;
String urlString =
"http://192.168.100.143:9704/analytics/saw.dll?Go&searchid=" +
thesid + "&format=xml&NQId=" + nq_id;
if (thesid != null) {
DocumentBuilderFactory
dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db =
dbf.newDocumentBuilder();
URL url = new URL(urlString);
URLConnection
URLconnection = url.openConnection();
HttpURLConnection
httpConnection = (HttpURLConnection)URLconnection;
int responseCode =
httpConnection.getResponseCode();
if ( responseCode ==
HttpURLConnection.HTTP_OK) {
InputStream in =
httpConnection.getInputStream();
System.out.println("thesid=
" + thesid);
System.out.println("nq_id="
+ nq_id);
System.out.println("server
host=" + request.getRemoteHost());
System.out.println("server
addr=" + request.getRemoteAddr());
domDoc = db.parse(in);
} else {
System.out.println(
"HTTP connection response != HTTP_OK" );
out.println("<nsdp_xml>");
out.println("<table>");
//Iterate
through metadata object and create the ndsp_xml header
NodeList rowDef =
domDoc.getElementsByTagName("element");
out.println("<tr>");
out.println("<th>Column
1</th><th>Column 2</th>");
out.println("</tr>");
//Iterate
through rows & items and create the ndsp_xml body
NodeList rows =
domDoc.getElementsByTagName("R");
if (rows != null) {
for (int i = 0; i <
rows.getLength(); i++) {
out.println("<tr>");
Node row = rows.item(i);
if (row == null ||
row.getNodeType() == Node.TEXT_NODE) {
continue;
NodeList items =
row.getChildNodes();
if (items == null) {
continue;
for (int y = 0; y < 2;
y++) {
Node item =
items.item(y);
if (item == null ||
item.getChildNodes() == null)
continue;
if (item.getChildNodes()
== null
||
item.getChildNodes().item(0) == null
|| item.getNodeType()
== Node.TEXT_NODE)
continue;
out.println("<td>"
+
item.getChildNodes().item(0).getNodeValue()
+ "</td>");
out.println("</tr>");
} else {
out.println("No
rows.");
out.println("</table>");
out.println("</nsdp_xml>");
%>
*3- Where the source Code of map I created on HTML : BIMapPage.html*
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta
http-equiv="Content-Type" content="text/html;
charset=windows-1252"></meta>
<title>BI Map
Page</title>
<script
language="Javascript" src="oraclemaps.js"></script>
<script
language="Javascript">
var dynStatesFOI;
function show_map(){
var map;
var homeCenter,
homeZoomLevel;
var baseURL =
"http://192.168.100.143:9704/mapviewer";
map = new
MVMapView(document.getElementById("map"), baseURL);
var mapSRID = 82364;
var mapCenterLon = 538940.5;
var mapCenterLat = 2690457.4;
homeZoomLevel = 1;
homeCenter =
MVSdoGeometry.createPoint(mapCenterLon, mapCenterLat, mapSRID);
map.addMapTileLayer(new MVMapTileLayer("tcg_gis.ksa_map"));
map.setCenter(homeCenter, false);
map.setZoomLevel(homeZoomLevel);
map.setHomeMap(homeCenter, homeZoomLevel);
map.addNavigationPanel("East");
map.addScaleBar();
dynStatesFOI = new
MVThemeBasedFOI('dynStatesFOI','tcg_gis.KSA_POP2');
dynStatesFOI.setRenderingStyle("C.COUNTIES");
setupNsdp(dynStatesFOI);
setupDynamicStyles(dynStatesFOI,250000,
500000, 750000);
map.addThemeBasedFOI(dynStatesFOI);
map.display();
function setupNsdp(dynStatesFOI)
var nsdpInfo = new
MVNSDP("defaultNSDP");
nsdpInfo.setTheme("KSA_POP2"); //the base theme
nsdpInfo.setKeyColumn("REGION_NAME");
//'match' column in the base table of the theme
nsdpInfo.setRenderStyle("C.COUNTIES"); //default style;
var ps = new Object();
{color:#ff0000}
ps["xml_url"] ="http://192.168.100.143/mapviewer/obiee_nsdp_xml_direct.jsp?nqid=" + urlParamNQID
+ "&sid=" + urlParamSID;{color} *{color:#800000}// <== Error line {color}*
nsdpInfo.setParameters(ps);
dynStatesFOI.setNSDP(nsdpInfo);
//setups the dynamically created advanced
style to
//be used by the theme-based FOI.
function setupDynamicStyles(dynStt,val1, val2, val3)
var buckets = new
Array(4);
buckets[0] = new
MVNumericRangedBucket(100000, val1, "C.COLOR_BLUE",
"range1");
buckets[1] = new
MVNumericRangedBucket(val1, val2, "C.COLOR_GREEN", "range2");
buckets[2] = new
MVNumericRangedBucket(val2, val3, "C.COLOR_RED", "range3");
buckets[3] = new
MVNumericRangedBucket(val3, null, "C.COLOR_BROWN",
"range4");
var bseries = new
MVBucketSeries("SCHEME_CUSTOM");
bseries.setBuckets(buckets);
var bucketSty = new
MVBucketStyle("region_colors", bseries);
dynStt.addStyle(bucketSty);
dynStt.setRenderingStyle("region_colors");
</script>
</head>
<body
onload="javascript:show_map();">
Welcome to our Site
Kingdom of Saudi Arabia
Map
<div
id="map"
style="width:550.0px; height:500.0px; overflow:auto;
border-color:rgb(0,0,0);"/>
</body>
</html>
{color:#ff0000}
The
highlighted line above from function setupNSDP is code line for: NSDP xml
source to call jsp that invokes java class to convert Answers filtered XML (OBIEE)
into NSDP XML.
Where
its invoke two parameters : 1- urlParamNQID , 2- urlParamSID
ps["xml_url"] =
"http://192.168.100.143/mapviewer/obiee_nsdp_xml_direct.jsp?nqid="
+ urlParamNQID + "&sid=" + urlParamSID;
The
error when we run this code is: URLParamNQID is not defined ???
does any of you can read what i wrote in my source codes and let me know what i missed in my html map code : BIMapPage.html and where or how i can get two parameters values URLParamNQID
and {color}*{color:#ff0000}urlParamSID{color}*{color:#ff0000}?{color}yes i checked this site, but i still couldn't reach the answer of my challenge, in how to specify urlParamNQID and urlParamSID , how or where i can get value of these parameters or what should i pass there !?
-
Need help from expert urgently - Can't boot my U460 laptop
I want to reboot my U460 laptop to factory setting so I use the One Key Recovery function.
After I have press the button then it shut down and restart the come to the One Key recovery screen.
I choose the rocovery to initial state then it run for a while the it say have error.
After it restart and it show the window boot manager it show the screen as per attached.
Please help.Anyone can help me?
Plsssssssss -
would like to trace my ipod touch because I was robbed. I would find it please. need help from you guys. Not because I am able to get another. Thank you.
- If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
iCloud: Find My iPhone
- You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
- If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
- Change the passwords for all accounts used on the iPod and report to police
- There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
- Apple will do nothing without a court order
Reporting a lost or stolen Apple product
- iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number -
Hi.I need help.my iphone was Stolen .how can I get back my iphone. Serial No.DX******PMW.could you help me find my iphone.thank you very much.could you send me the ICCID number to help me find the iphone.if you can help me.
<Personal Information Edited by Host>
Sincerely a Chinese girl really need your helpSorry we are all users on this User Community No Apple Staff
Read this .
http://support.apple.com/kb/HT2526
Apple do not and cannot assist in finding stolen property ,that is the responsility of your Police -
When in Windows 7 (while using bootcamp) I am able to see my personal files in my Mac partition. When I try to access them I am denied access, it tells me that I need permission from the administrator. How do I give myself permission to access files between the two partitions, Mac/Windows7?
When in Windows 7 (while using bootcamp) I am able to see my personal files in my Mac partition. When I try to access them I am denied access, it tells me that I need permission from the administrator. How do I give myself permission to access files between the two partitions, Mac/Windows7?
-
Why can't I get help from you people? Thunderbird is installed, but not working.
I carefully followed the directions for installing Thunderbird. I am running WinXP pro. Thunderbird is there but not functioning. I am 78 years old and I need help from you re: install. I am not going to pay $$$$$to get a computer tech to come to my home and install Thunderbird. I had no trouble installing Firefox, but Thunderbird is an absolute drongo. Please call me at xxx-xxx-xxxx or email me a number to call. I need human help. PLEASE! Thunderbird just sits there but gets no mail.
Regards, SaraThis appears to be your first post here and you have not provided much detail to work with. This is the Thunderbird support forum. No one is going to call or email you other than the spammers that get your info that you posted in a public forum.
-
I need help from Customer Support. Whatever this charge is on my credit card,
He recibido un cargo de su tienda, que curiosamente he visto que se han hecho muchos cargos a diferentes personas bajo el mismo copncepto y tienda.Favor acreditarme dicho monto porque no he comprado nada con ustedes y ni tengo idea donde está Minesota.Este es mi cargo. 23/07/15323343GEEKSQUAD RENE00015826 RICHFIELD UUSRD$1,428.010.00 Y veo en Internet que otros clientes han hecho reclamos del mismo concepto. Subject Author PostedGEEKSQUAD RENE00015826Care03-09-2015 06:30 PMGEEKSQUAD RENE00015826 Unknown ChargePriscillaQ12-29-2014 10:08 PMrandom 10 dollar charge from richfield MN to my ac...ChrisBurns07-01-2015 12:50 PMUnknown Geeksquad charge on my Credit CardHardingR12-01-2014 05:57 PMGeekSquad protection terms changed without being i... Lo que me hace pensar que algo anda muy mal en ese Best Buy. Como es posible que no hayan corregido e identificado quienes están detrás de este fraude que lleva años. I need help from Customer Support. Whatever this charge is on my credit card,jesmann10-05-2014 04:52 PM
Hola scj2000-
Muchas gracias por visitar nuestro foro en búsqueda de una explicación al cargo que recién apareció en tu tarjeta de crédito.
Entiendo su preocupación, ya que cualquier cargo extraño que aparece en un estado de cuenta puede ser alarmante. En este caso, el último cargo que puede recuperar usando el correo electrónico que usaste para registrarte al foro, refleja que se renovó un antivirus Kaspersky. Esta autorización nos diste cuando realizaste la compra de tu Lenovo, desde entonces se renueva automáticamente la licencia de antivirus.
Las otras publicaciones que has leído, indican lo mismo. Un cargo que se ha hecho a la tarjeta de crédito que se presentó durante la compra con la autorización del cliente.
Lamento mucho la confusión y espero esto aclare tu duda.
Atentamente, -
I need help from chile and use a language translator to write and not turn my iphone4
I need help from chile and use a language translator to write and not turn my iphone4
http://support.apple.com/kb/TS3281
Not turn on -
This article is vague and unhelpful. My iTunes needs help from a pro.
I have over 120,000 songs -- NO movies, TV, radio, or books...
I have other programs which efficiently run things which are not audio-based.
So why can I not get iTunes working well?? It now takes at least 10 secs for any operation to be completed!
That is just plain evil. But I am sure I could do something to help.
All the music is on an 2T external drive.TS1717 as noted in the thread title...
Brigancook, is the library database on the external or just the media? iTunes reevaluates smart playlists and rewrites its database after every action on the library. I've found this can make a library half that size, with a lot of smart playlists, quite sluggish. That said I'm aware part of my problem is aging hardware. Having the database on the internal drive may improve performance if it is currently on the external.
I'd expect to see an exponential relationship between size and response time which may explain what you see. Cutting down on the number of smart playlists might help. If we're really lucky the long awaited iTunes 11 might have streamlined some of the background processes as well as cleaning up the front end.
tt2 -
How to (make best) use external js library from html object (need help from dev)
Ok, on another discussion about rotating full screen backgrounds slideshows, i was orientated to try a small lib named "backstrech"
I throw myself in, and i really like what we can do with it.
To use it simply, just make an html object and paste this in :
<script src="http://musecdn2.businesscatalyst.com/scripts/4.0/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="assets/jquery.backstretch.min.js" type="text/javascript"></script>
<script>
$.backstretch([
"http://dl.dropbox.com/u/515046/www/outside.jpg"
, "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
, "http://dl.dropbox.com/u/515046/www/cheers.jpg"
], {duration: 3000, fade: 750});
</script>
then add the jquery.backstretch.min.js to your "downloaded files" (file menu > files to download)
And you’re done.
Now, i need some help from better developers.
As you can see, my first line is a call to jquery, the same that we find later in Muse exported code.
Reason 1 : without this line, jquery is not defined and the plugin won’t work.
This raises 2 issues :
- We load twice the same ressource which is useless (100k)
- loading js is all about having the page hangs while it loads, hence, they are put at the end of the body.
Does anybody know a way to load this particular html script AFTER we are sure the muse scripts (esp. jquery) have been loaded ?
(in the Edge Animate world, i’d go for the yepnope, and put it at the right place in the code, though, here i have no access to page load structure except head)
PS : in addition to that, i made an exported page/excluded from navigation where i put all the images i wanted for the background, i could then simply change the images lines :
, "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
to
, "images/my_image_name_as_in_ressources.jpg"Got it, there was a bug in my code. Here is what you do:
1. Download the js file https://raw.github.com/srobbin/jquery-backstretch/master/jquery.backstretch.min.js
2. In Muse: Go to File -> Add Files for Upload and add the script file
3. Open Page Properties -> Metadata -> HTML for <Head>
Paste this code in:
<script>
window.onload = function() {
var loaded = function() {
$.backstretch([
"http://dl.dropbox.com/u/515046/www/outside.jpg"
, "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
, "http://dl.dropbox.com/u/515046/www/cheers.jpg"
], {duration: 3000, fade: 750});
//Load the plugin:
var head= document.getElementsByTagName('head')[0];
var script= document.createElement('script');
script.type= 'text/javascript';
script.onreadystatechange = loaded;
script.onload = loaded;
script.src= 'assets/jquery.backstretch.min.js';
head.appendChild(script);
}; //Window OnLoad
</script>
4. Preview or Publish = Done!
Example: http://musebackstretch.businesscatalyst.com/index.html -
really important. need help.
If they were on your phone when it was last backed up, restoring the backup to your phone should recover them.
-
i want the 200 mb plan for my iphone and wanted to know if instead of using safari i can use apps such as facebook or tumblr without using up my data. i got the asnwer that i can avoid that by using wi-fi, but how does that whole thing work?
sorry i am a bit new at this, and i need help fast!
THANK YOU!hookedonlerman wrote:
but will that replace the use of using up data? (wifi & 3G)
It sounds as if you don't really understand what "using data" means. Data is not something different from WiFi and 3G, it's something sent over WiFi and 3G. Think of data as water and WiFi and 3G as types of pipes. Some apps need to send and receive data to work. That data can be sent or received in different ways. It can be sent over WiFi or 3G. Both official iPhone carriers in the U.S. have metered data plans. It's sounds as if you're talking about AT&T's 200 mb data plan. WiFi is not provided by your cellular carrier. You can have WiFi from your Internet Service Provider at home or you can access free WiFi at places like McDonalds or Starbucks or paid WiFi at places like airports.
If you have WiFi turned on on your phone and WiFi is available, the phone will default to WiFi. WiFi is faster than 3G and generally not metered, and is sometimes even free. If you are out of range of WiFi, you would be using 3G to send and receive your data. With a metered plan, you need to keep an eye on how much you are using because if you go over your allowance, you will be charged additional fees. -
Need help from Jeff in getting CC desktop application
Jeff, I was unable to find my previous question to you from the other day. To start over, my CC desktop application is gone missing after 10 months of CC usage. I need to download a LR update so I can use my camera with raw files. How can I get this back? Apparently Adobe doesn't allow reinstalling of individual programs even though I actually own LR. Please redirect me accordingly. I need help. I have win 7 64.
GeneCGenec2 locking this discussion and will respond in CC desktop app icon missing.
Maybe you are looking for
-
Java Applet Certificate Signing Window comes up BLANK!
Hi Everyone I have a problem where Java Applet Certificate Signing Window comes up BLANK! It comes up as blank gray panel with the java logo on the upper left. the title bar says "Java Plugin Security Warning" And I can't figure out what to do to mak
-
Bug in jhsCommonBeans.vm
jdeveloper 11.1.2.2.0 jheadstart 11.1.2.1.28 is this a bug? what is the matter? in wizard layout when i generate this warining happened [/WEB-INF/JhsCommon-beans.xml, default/misc/facesConfig/jhsCommonBeans.vm] Velocity log [warn] org.apache.velocity
-
Inserting a hyperlink displays HTM extension
I just noticed that when inserting a hyperlink: If the Topic List pod is set to View by File Name, the hyperlink displays the filename (with the HTM extension). If the Topic List pod is set to View by Topic Title, the hyperlink displays the topic tit
-
What's up with Safari not supporting the United States Postal Service web apps since the last update?
-
Trying to run GIMP, but need some x11 thingies.
I got myself GIMP for Leopard, but to run it requires something with an "x" and "11" in it. What is that, where to get it, and how to make it work?