on 05-04-2007 11:07 AM
Hi Experts,
i got a question. I want to change the standard web template in BI7.0 in that way that on top i want to show a "dynamic" picture. The picture should change according to the beginning of the technical name of the query.
Example:
Q_SALES_xxxxxxxx -> Sales Picture
Q_LOGISTICS_xxxxxxxx > Logistic picture
The pictures should be loaded into Metadata repository.
If there is no picture available according the query, than a standard picture should be shown.
Sounds like JavaScript. What do you think?
Regards,
Adem
Yes you can use JS to do this.
On the onload event of the body you can look for the query tech name and depending on the name the source (src) for the image tag can be assigned dynamically.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you can write the code in a Script web item. Since you are usig 04s WAD if you call the function in the onload event of body the code generated by the system overwrites the code you put in onload.
You have to call it within the HTML section of the template like below towards the end of the template just before closing the body tag.
<SCRIPT> setHdrImage(); </SCRIPT>
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.