Re: Image based hyper link
Hi,
I have a Display as Text item(does not save state) to show the image. I would like to call another page
when someone click on image.
I have use following code in the 'Source value or expression' to show the image on text item.
<img src="#WORKSPACE_IMAGES#login.jpg"></img>
How to write the code to pass the control to another page when someone click on above image?
Thanks in advance.
D
Edited by: user8609115 on 13-Jan-2010 1:27 PM
Hi,
One way
<a href="f?p=&APP_ID.:101:&SESSION."><img src="#WORKSPACE_IMAGES#login.jpg" alt="" /></img></a>When you click image it goes to page 101
Br, Jari
Similar Messages
-
My client would like to be able to add new images to their site themselves and use them as hyper-links to external sites without having to replace an old image with the new one (or blank place holding images - far from ideal). Is there ANY way that this is possible? They do not wish to update and add new images/links regularly and it is certanly not intended to be used as a blog or way of being able to constantly keep content new and fresh otherwise I would set them up with a blog account and add that to the site. It is merely a way of adding links to other local businesses every once in a while.
Please see the page they wish to update... Friends. (Please excuse the layout... the customer will not be able to resize or edit the images themselves and wishes to add them as-is!)
Thanks in advance for any help. If anybody knows how I can ask an Adobe official mod, that would be great... that, or make a request for a future addition in an update?
Warm regards,
Ben GathercoleHi Andria,
Changing links is currently not possible with in-browser editing.
Please post this as a feature request in the following feedback form :
http://feedback.inbrowserediting.com/?url=
Regards,
Akshay -
Image should work as hyper link in smartform
Hi,
I am able to convert smartform with images in to HTML format and able to send as e-mail using the program similar to SF_XSF_DEMO_MAIL.
As soon as the user receives e-mail, he should able to click on images and should redirect to other webpage. (Image should work like hyper link).
Can you please suggest how to work on this issue ?
Thank you very much.
Regards
BadariUsing smart form we can not send image as hyper link. This functionality is not available using smartform.
Instead of using smart form written the HTML Code and used the following function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' and works fine for me.
wa_objtxt-line ='</body>'.
APPEND wa_objtxt TO t_objtxt.
wa_objtxt-line = '</html>'.
APPEND wa_objtxt TO t_objtxt.
HTML close
wa_objtxt-line = '</body> </html> '.
APPEND wa_objtxt TO t_objtxt.
Document data
DESCRIBE TABLE t_objtxt LINES w_tab_lines.
READ TABLE t_objtxt INTO wa_objtxt INDEX w_tab_lines.
wa_docdata-doc_size =
( w_tab_lines - 1 ) * 255 + STRLEN( wa_objtxt ).
Packing data
CLEAR wa_objpack-transf_bin.
wa_objpack-head_start = 1.
wa_objpack-head_num = 0.
wa_objpack-body_start = 1.
wa_objpack-body_num = w_tab_lines.
we will pass the HTML, since we have created the message
body in the HTML
wa_objpack-doc_type = 'HTML'.
APPEND wa_objpack TO t_objpack.
*ENDFORM. " CREATE_TITLE_DESC_BODY
*& Form fill_receivers
Filling up the Receivers
*FORM fill_receivers .
wa_reclist-receiver = I_email. "p_email.
wa_reclist-rec_type = 'U'.
APPEND wa_reclist TO t_reclist.
CLEAR wa_reclist.
*ENDFORM. " fill_receivers
*& Form send_message
Sending Mail
*FORM send_message .
Send Message to external Internet ID
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_docdata
put_in_outbox = 'X'
commit_work = 'X' "used from rel.6.10
TABLES
packing_list = t_objpack
object_header = t_objhead
contents_txt = t_objtxt
receivers = t_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc NE 0.
E_STATUS = 'Sending Failed'.
ELSE.
E_STATUS = 'Sending Successful'.
ENDIF.
Edited by: Badari Narayana1 on Oct 6, 2009 10:09 PM
Edited by: Badari Narayana1 on Oct 6, 2009 10:09 PM
Edited by: Badari Narayana1 on Oct 6, 2009 10:10 PM -
hyper link of public image(hyperlink or image) can not be saved on windows server 2012 and sharepoint 2010 problem, is this a bug?
thanks for any reply.
RosoneIt is not a bug, you might be using IE in Windows server 2012 and and browser might be restricting your site actions to respond properly.
Check this in a different browser or access site in a differ OS.
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer. -
Need a Little Help embedding a Hyper Link in Report based on Dynamic SQL
I am trying to have a column in my report link to a document on my network when the column in the report is clicked. I have a table that contains a row for each document I want to link to. The URL to the document is stored in a column named NDDL.DOC_LINK. I would like the text "Linked" to appear as the value in the report column and to be a hyper link to the document.
The report is a "Classic Report" based on PLSQL retuning a SQL stament. I am on Apex version 4.2.1.00.08
I have been fighting with the '''''' stuff and can not get it worked out. have pasted the line in question but I can not get it to display correctly so I am hoping someone can help out.
q := q || ' NDDL.DOC_TITLE as FILE_NAME, ';
q := q || ' NDDL.DOC_DESC, ';
q := q || ' ''<a href="http:'' || NDDL.DOC_LINK || ''target="_blank"> </a>'' as LINKED , ';
q := q || ' NDDL.MOD_DATE, ';
...The # in the line above should be:
{code}
http:'' || NDDL.DOC_LINK || ''target="
Thanks!
Edited by: Sky13 on Mar 7, 2013 12:45 PMI anwered your email. The PL/SQL block is like this:
/* Formatted on 2013/03/07 23:05 (Formatter Plus v4.8.8) */
DECLARE
q VARCHAR2 (4000);
BEGIN
q := 'select * from ( ';
q := q || 'select ';
q := q || ' NDDC.NDDC_UID, ';
q := q || ' NDDC.NDND_UID, ';
q := q || ' NDDC.LSVL_DOC_CAT_UID, ';
q := q || ' NDDC.DATE_POSTED, ';
q := q || ' NDDC.CREATE_DATE, ';
q := q || ' NDDC.CREATE_BY, ';
q := q || ' NDDC.MOD_DATE, ';
q := q || ' NDDC.MOD_BY, ';
q := q || ' NDDC.MIME_TYPE, ';
q := q || ' NDDC.FILE_NAME, ';
q := q || ' NDDC.CHARACTER_SET, ';
q := q || ' NDDC.BLOB_MOD_DATE, ';
q := q || ' NULL as DOC_DESC, ';
q := q || ' NULL as DOC_LINK, ';
IF :p24_doc_contains IS NOT NULL
THEN
q := q || ' score(1) as SCORE ';
ELSE
q := q || ' NULL as SCORE ';
END IF;
q := q || 'from ';
q := q || ' NDDC_NODE_DOC NDDC ';
q := q || 'where ( ';
q :=
q
|| ' INSTR(UPPER(CREATE_BY),UPPER(NVL(:P24_SEARCH,CREATE_BY))) > 0 or ';
q := q || ' INSTR(UPPER(MOD_BY),UPPER(NVL(:P24_SEARCH,MOD_BY))) > 0 or ';
q :=
q
|| ' INSTR(UPPER(MIME_TYPE),UPPER(NVL(:P24_SEARCH,MIME_TYPE))) > 0 or ';
q := q || ' INSTR(UPPER(FILE_NAME),UPPER(NVL(:P24_SEARCH,FILE_NAME))) > 0 ';
q := q || ') ';
IF :p24_doc_contains IS NOT NULL
THEN
q := q || ' and CONTAINS(document, :P24_DOC_CONTAINS,1) > 0 ';
END IF;
q := q || 'union all ';
q := q || 'select ';
q := q || ' NULL as NDDC_UID, ';
q := q || ' NDDL.NDND_UID, ';
q := q || ' NDDL.LSVL_DOC_CAT_UID, ';
q := q || ' NDDL.DATE_POSTED, ';
q := q || ' NDDL.CREATE_DATE, ';
q := q || ' NDDL.CREATE_BY, ';
q := q || ' NDDL.MOD_DATE, ';
q := q || ' NDDL.MOD_BY, ';
q := q || ' NULL as MIME_TYPE, ';
q := q || ' NDDL.DOC_TITLE as FILE_NAME, ';
q := q || ' NULL as CHARACTER_SET, ';
q := q || ' NDDL.MOD_DATE as BLOB_MD_DATE, ';
q := q || ' NDDL.DOC_DESC, ';
q :=
q
|| ' ''<a href="http:'''
|| '||nddl.doc_link||'''
|| '-.htm" target="_blank"> </a>'' as DOC_LINK , ';
q := q || ' NULL as SCORE ';
q := q || 'from ';
q := q || ' NDDL_NODE_DOC_LINK NDDL ';
q := q || 'where ';
q :=
q
|| ' ( INSTR(UPPER(CREATE_BY),UPPER(NVL(:P24_SEARCH,CREATE_BY))) > 0 ';
q := q || ' or INSTR(UPPER(MOD_BY),UPPER(NVL(:P24_SEARCH,MOD_BY))) > 0 ';
q :=
q
|| ' or INSTR(UPPER(DOC_TITLE),UPPER(NVL(:P24_SEARCH,DOC_TITLE))) > 0 ';
q :=
q
|| ' or INSTR(UPPER(DOC_DESC),UPPER(NVL(:P24_SEARCH,DOC_DESC))) > 0 ) ';
q := q || ' ) ';
--htp.p(q);
DBMS_OUTPUT.put_line (q);
END;Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
Multiple hyper links one image?
I have a KeyNote that I've built as an 8.5x11 document that I'm hoping to export as a PDF with multiple hyper links. Is this possible?
Or do I have to have an individule image for each hyperlink?
thanksYou can place as may hyperlinks on a slide as you require.
Each hyperlink must be attached to an individual object or text box on the slide. -
I have a report that conditionally displays a specific image based on the values in the row e.g.
SELECT CASE WHEN task_id_value = next_parent AND show_flag = 'N'
THEN
'<img src="#IMAGE_PREFIX#Fndtre05.gif">'
WHEN task_id_value = next_parent AND show_flag = 'Y'
THEN
'<img src="#IMAGE_PREFIX#Fndtre03.gif">'
Else
NULL
END Enable_Drill
FROM ris_tasks
I would like to setup a column link on this image column. However, it appears that the link can only be text. Is there a work around for this issue?
Thanks,
DavidDavid,
HTML DB removes HTML tags from your column values when you use them in links or HTML expressions. In the next version of HTML DB this will be optional, so you can decide whether or not you want to have the HTML tags removed. With the current 1.5.1 version, I would recommend that you build the link as part of your query, i.e. you could add the "a href" tags to your image tags.
Regards,
Marc -
view image based on the query
hi i what to download my image based on the following query,am in jdeveloper 11g am using this method for download,i show the whole link of procedure where the query is located and how was it used in forms,but nw i what to take the query and put it in my java code not the webutil just the query,i put the whole forms package so you can undestand the logic of the query how was it used
public void ViewImage(FacesContext facesContext, OutputStream outputStream)
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
// get an ADF attributevalue from the ADF page definitions
AttributeBinding attr = (AttributeBinding) bindings.getControlBinding("DocumentImage");
if (attr == null)
return;
// the value is a BlobDomain data type
BlobDomain blob = (BlobDomain) attr.getInputValue();
try
{ // copy the data from the BlobDomain to the output stream
IOUtils.copy(blob.getInputStream(), outputStream);
// cloase the blob to release the recources
blob.closeInputStream();
// flush the output stream
outputStream.flush();
catch (IOException e)
// handle errors
e.printStackTrace();
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), "");
FacesContext.getCurrentInstance().addMessage(null, msg);
}when i use the above method in diffient screen without the upload i get this error
Target Unreachable, identifier 'viewImage' resolved to null
Error
The file was not downloaded or was not downloaded correctly.
the below procedure is how i what to download the image but in java,but usin query in below procedure
function right_file (idref integer, i_file varchar2) return boolean is
begin
-- check directory
-- file size
if webutil_file.file_exists(dir ||'\' ||i_file) then
return true;
end if;
return false;
end;
procedure download(i_dref integer, i_file varchar2) is
file varchar2(50);
dlin_id integer;
l_success boolean;
begin
if not right_file (i_dref ,i_file ) then
select file_name,dlin.id
into file, dlin_id
from sms_document_links dlin
,sms_document_references dref
where dref.id = i_dref
and dref.dlin_id = dlin.id
l_success := webutil_file_transfer.DB_To_Client
( dir ||'\'|| file,
'SMS_DOCUMENT_LINKS',
'DOCUMENT_IMAGE',
'id = '||dlin_id);
end if;
end download;
procedure open_image (i_dref integer,i_file varchar2) is
begin
local_path;
local_viewer;
if I_file is not null then
file := i_file;
else
select file_name into file
from sms_document_references
where id = i_dref
end if;
download(i_dref, file);
if not webutil_host.ID_NULL(active_process) then
close_previous_image_process;
end if;
image_dir_file := dir ||'\'|| file;
process := webutil_host.nonblocking (image_viewer || image_dir_file);
if webutil_host.ID_NULL(active_process) then
active_process := process;
end if;
if webutil_host.equals(process,active_process) then
null;
else
close_previous_image_process;
active_process := process;
end if;
viewer_active := true;
end;--oh ho.
Dear user,
this is not code factory/design factory/bla bla bla.
this area for guide peoples where you are? what is way right to reach your target/goal. whatever in you words...
from your post and also procedures, you are from forms background. am also came from ORacle froms 10g background try to understand. and implement it adf.
back to topic:
Target Unreachable, identifier 'viewImage' resolved to null Error .i just am giving the steps to igonre your error
simple go to your taskflow - go to overview section - go to managed beans. configured you which you created bean say as x.java
if you create following code can be seen in source
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<task-flow-definition id="xx-V-TF">
<default-activity id="__1">xxV</default-activity>
<managed-bean id="__2">
<managed-bean-name id="__4">SUP1040V</managed-bean-name>
<managed-bean-class id="__5">com.x.x.view.xBeans.xxV</managed-bean-class>
<managed-bean-scope id="__3">backingBean</managed-bean-scope>
</managed-bean>
<view id="xV">
<page>/ReportsPageFragments/xxV.jsff</page>
</view>
<use-page-fragments/>
</task-flow-definition>
</adfc-config> -
(Urgent) - Using Image as a link
Hi All,
I have a requirement to use image as a hyper link so that when a user clicks on that image he can see the report related to it.
Could this Feature is possible through ABAP.
If yes how can i achieve it, is there any FM with the use of which i can use the image as a hyper link.
Please reply as soon as possible.
Thanks in advance
Message was edited by:
Rachit KhannaHi,
Refer to the the following code for using image as hyperlink.
<%@ page import="com.sapportals.portal.prt.resource.IResource" %>
<hbj:link
id="link1"
text="Link to SAP"
reference="http://www.sap.com"
target="_TOP"
tooltip="this takes you to: http://www.sap.com"
onClick="LinkClick"
>
<hbj:image
id="image_logo"
alt="Image not available"
src=""
>
<%
IResource
rs=componentRequest.getResource(IResource.IMAGE,
"../mimes/sap.gif");
image_logo.setSrc
(rs.getResourceInformation().getURL(componentRequest));
%>
</hbj:image>
</hbj:link>
regards
Gaurav
Reward points if helpful -
Email hyper-link not working on mobile
Hi,
We have created a report which sends out list of treasury transactions pending release with hyper-links against each transaction. On clicking the hyper-link, an email is created with a pre-defined recipient, subject and body. The user simply sends the email and based on the authorisation set in the inbound mail processing class in SAP, the transaction is approved.
This is working perfectly in MS Outlook. However, when the approval link is clicked in a mobile handset, the new email is not composed with the pre-defined recipient, subject and body.
Please let me know how the hyper-link can be created so as to also work with mobile handsets.
Regards,
Yusuf SheikhHi Rahul,
I have created the hyperlinks in the interactive (html) mode.
While creating the hyperlink you just need to check one option "Use Complete URL path". This option will enable the hyperlink
in the pdf mode too.
FYI.. I am on BO XI 3.1
Regards,
Rohit -
How to change images based on action.Even clicking changed images should ?
how to change images based on action.
Even clicking changed images should do respective actions.
and while displaying only one image at a time sholud get displayed.
I am using three images for a single column of a table in Jsp.
Any clues.
Any link for any good javascript html jsp site where i can find some good solution.
vijendraIn broad way if i say i have multiple situations in mutiple tables where i need such a logic to operate in for all tables.
lets say in first time load of page by default one image will be displayed (one with sorted order for first column rest all non sorted)Now after every click to any image respective sort should get called.along with all images should get changed.Here with every function one/two images will get effect at least.
As in first if i say sort by desc then this image will change rest all will remain in unsort form.
when i move to other column and click on new image the previos will convert to unsort and new one will convert to sort by ascending. rest all will be in unsort form as it is.
Now it seems like same logic is required with two three conditions.
even for everyaction different parametrs has to be passed at differnt situations.
Any good idea if someone can suggest.
I will be very greatful for him.
thanks
vijendra -
Hyper Links suddenly stop working ? So does 'ctrl + T/pad'
Hi everyone,
I hope I can explain this for you to uderstand easy.
I may have 2 or 3 Tabs open and decided to open another, example Amazon. I start to look around and 'say' I want to find a CD cover to make a copy of to paste onto something, I find said CD and then all of a sudden nothing works, no hyper links, zero. The only way I can them to work again is to copy the present page I am on, open a new Tab, paste the link in and all works again ????? But the not the original Tab. Plus if I try the 'ctrl _ T/pad' to open the options you then get ( to then copy subject for one ) nothing, yet I tried this in Google Chrome just to test and see if that works and it does. So what the **** is going on, I have no idea so please can anyone come up with a answer !
I hope I have this clear enough for someone to help.
Steve
PS: As I was even writing this everything suddenly stop, could not even 'highlight' some of the text and copy ( cmd + C ) .........Update on my first message.
I have just tried everything regarding the above on my iMac ( the above problem is on my Macbook Pro' ) and guess what everything works fine ??????
Went to Amazon for example, found a book cover, pressed 'ctrl + click on mouse' and hey presto it worked ( options open - open link in new tab, download link file, copy image etc ).
So can anyone tell me why this does not work on my laptop please !
Steve -
Place an mp3 player on top of an image in image-based website??
Hi everyone!
I am trying to create a website for our company, and have made an image-based website in Photoshop. The whole background is composed of sliced images from a Photoshop file, and I want to add links, drop down menus, a photo slider, and an mp3 player with Dreamweaver. I am having a great deal of trouble as I don't know nearly as much about coding as I would like to!
Right now I am trying to add an mp3 player to the bottom of our website, but I want it to be on top of the bar at the bottom of the page. Since the bar is technically an image, every time I paste the code for the mp3 player into the HTML, it goes above or below the bar rather than on top of it. Is there any way to remedy this?? Advice would be appreciated! ThanksIs there any way we can see your website? Fishing around in the dark is not a good way to give advice.
I should also mention that the "slicing Photoshop files" method of website building is probably not the way we build websites anymore, if I understand where you are coming from.
Generally speaking, if you have an image in the background set up in your style sheet, you should be able to put things on top of that image.
So, let's say we have a div and I'm going to call it "player." We may want to have more than one player on a page, so we'll give it a class:
CSS:
.player {
background-image: url("/path/myimage.jpg");
HTML:
<div class="player">
<audio controls>
<source src="/path/myaudio.ogg" type="audio/ogg">
<source src="/path/myaudio.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</div>
Now, what I have done here is to create an HTML5 Audio player. The web page with the audio must be HTML5. And you will probably need to edit your .htaccess file to include the following:
AddType audio/ogg .oga
AddType video/ogg .ogv
AddType application/ogg .ogg
AddHandler application-ogg .ogg .ogv .oga
If you don't know how to edit an .htaccsss file, you should be able to add those MIME types in your host's Control Panel.
The way you declare an HTML5 document is to start the document with:
<!DOCTYPE HTML>
<html>
This would be before you start your <head> region.
But I must warn you, I'm offering all of this with a great deal of trepidation. I believe you're putting together a website using tables and inline code for things like backgrounds and such. Modern web design does not use tables to format web pages.
Without looking at what you're doing, there is a very big limit as to how I can advise you.
-Mark -
Image based of all the colors currently in the swatch
Are there anyone who know a method or script that enables generation of an image based of all the colors currently in the swatch?
I would want it to fill a grid, with a patch of the color with the colors name underneath it, and with the name of the swatch as a header on a black background. Maybe even with the lab, cmyk and rgb values underneath each color.
The colors need to be arranged in the same manner as in the swatch.
Any help would be appreciated.I'm sure this is possible, but you might want to post this in the scripting forum or on ps-scripts.com. Here is a link to a topic along the lines that you want on ps-scripts.com:
http://www.ps-scripts.com/bb/viewtopic.php?t=5161 -
Add a Hyper link sort of on char
Hello
Is there a way where we can enter a hyper link sort of type against a char which will contain the information about that chart. Like what i mean is that if a free char is dragged and dropped in and the user wants to know what is this free char about then can a hyper link or something be added against the char so that the user can get information regarding that char.
Please let me know
thanksHello,
This question was asked nearly two years ago! Like the original questioner, I have searched and searched for instruction for hyperlinking an image in mail.app. When I select the image in the body of an email and go to the edit menu to add a hyperlink, the link simply replaces the photo. When I cntrl/click on the image, there is no option to add or edit a link.
Can someone assist? Or confirm that this simple task is not possible in mail.app? Or suggest a plug in?
thanks!
Maybe you are looking for
-
Use of Prepared Statement in adf
Hi Experts, I am confused with the Use of prepared statement in adf. My use case is , I have to update a table from every page in my application under certain conditions. My question is , whether I have to create the VO iterator binding in every page
-
How to use RTE? I need to run my CVI code on a SBC that has its OS on CompactFlash (CF). I have done the Build»Distributions command and made a cds file but don't know if I did it correctly. I have downloaded and installed CVI RTE on my desktop PC,
-
Ok I have a SB000, when i run a speaker text, the center speaker has no sound, I moved the input from the left speaker and changed it with the center speaker port on back of subwoofer, sound came from speaker then but nothing came out for the left wh
-
How can I increase the bluetooth volume?
I use a bluetooth device to send audio to my hearing aids. However, the iPad bluetooth signal is very low in the available audio dynamic range. Consequently, the volume level at my hearing aids is very low. I have adjusted the iPad volume control to
-
Table link for the current and historical functional location for equipment
Hi Gurus, Can anyone please tell me the table link to find the historical functional location details for an equipment and the current functional location of the equipment? Regards Anoop