Adobe Dreamweaver Forums



Last 10 THreads :         gesture driven scrolling list (Last Post : cntpmaxn - Replies : 64 - Views : 953 )           »          Formatting Text Paragraph (Last Post : BudHud - Replies : 0 - Views : 1 )           »          Tutorial Announcement :: Dynamic DropDwon Accordion Panel :: (Last Post : Günter_Schenk@adobeforums.com - Replies : 1 - Views : 2 )           »          Locking resize handles in browser. (Last Post : Jasper Thayer - Replies : 9 - Views : 10 )           »          Pushy div (Last Post : howeaver - Replies : 2 - Views : 3 )           »          adding a tag in replay history (Last Post : DynV - Replies : 6 - Views : 22 )           »          IE7 & CSS Opacity (Last Post : Al Sparber - PVII - Replies : 2 - Views : 3 )           »          file directory. (Last Post : lachy455 - Replies : 9 - Views : 10 )           »          Updating Templates (Last Post : Murray *ACE* - Replies : 3 - Views : 4 )           »          Re: Why can't Snit ever tell the truth? Is it a genetic problem? (Last Post : Steve Carroll - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver toolkit
 
Tags:

Reply
  #1 (permalink)  
Old 07-20-2008, 10:49 PM
Rat_Boy_Hams@adobeforums.com
 
Posts: n/a
Diggs:
Default Changing a dynamic list link to an image

Hi

I am sure I am missing the obvious, but I cannot seem to replace the delete link with an image.

I have changed the edit link but cannot seem to do the same with the delete link.

Can anyone help?

Cheers
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-21-2008, 02:17 AM
Mohiuddin_Khan_Inamdar@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Changing a dynamic list link to an image

Hi,
I believe in ADDT the images on buttons /links /whatever are governed by a rules of java script + CSS ..... based on skins directory.

so u can search for the small button images which reflect all the edit/update/delete/cancel buttons....
Remember this image change for that skin will effect site wide..

anyway if u want to have custom buttons u can simply place a image in the table i think it should work..

go to dreamweaver insert >image and then define a link to it..
if u r using.... ADDT dynamic form the have a look at kt_delete1 thats the default name for delete.

u need to replace this with ur own image in the table.

<%=NXT_getResource("delete_one")%> <#delete>

this is a sample image link
<MeProjectStagesEdit.asp?bla=ble.....>

please replace bla = ble with ur own variable....

hope this helps u out..
mohnkhan
<http://www.mohitech.com>
Reply With Quote
  #3 (permalink)  
Old 07-21-2008, 07:33 AM
Rat_Boy_Hams@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Changing a dynamic list link to an image

mohnkhan

Thanks for the help.

I need to replace just the delete button on a standard dynamic list with a delete icon. Ideally I would like to use the standard delete functionality.
e.g. <%=NXT_getResource("delete_one")%> <#delete>

I tried the following code but it just adds the word delete in front of the image.

<%=NXT_getResource("delete_one")%> <#delete>

I had considered writing a delete page and adding a standard link to the page with the appropiate parameters.
Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 06:01 AM
Mohiuddin_Khan_Inamdar@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Changing a dynamic list link to an image

Yes its exactly what its designed to do..

the the Nxt get resource reads from the resources folder..

the value for delete_one..

if u dont want that text to come there.
then u can safely remove <%=NXT_getResource("delete_one")%>
all it does is it puts the text on the image..

if u have enabled skins
else it wil display dumb text only without the image

so in ur case
just remove that resource function..

for example i have pasted here for u a mixture of dummy links with images and links with resource text.

__________

%3C%61%20%20%68%72%65%66%3D%22%50%72%69%6E%74%43%6 C%69%65%6E%74%4F%72%64%65%72%2E%61%73%70%3F%70%6B% 66%6B%43%6C%69%65%6E%74%4F%72%64%65%72%5F%49%44%3D %3C%25%3D%28%72%73%63%6C%69%65%6E%74%6F%72%64%65%7 2%73%31%2E%46%69%65%6C%64%73%2E%49%74%65%6D%28%22% 70%6B%66%6B%43%6C%69%65%6E%74%4F%72%64%65%72%5F%49 %44%22%29%2E%56%61%6C%75%65%29%25%3E%26%23%33%38%3 B%26%23%39%37%3B%26%23%31%30%39%3B%26%23%31%31%32% 3B%26%23%35%39%3B%26%23%36%37%3B%26%23%31%31%37%3B %26%23%31%31%35%3B%26%23%31%31%36%3B%26%23%31%31%3 1%3B%26%23%31%30%39%3B%26%23%31%30%31%3B%26%23%31% 31%34%3B%26%23%37%33%3B%26%23%36%38%3B%26%23%36%31 %3B%3C%25%3D%28%72%73%63%6C%69%65%6E%74%6F%72%64%6 5%72%73%31%2E%46%69%65%6C%64%73%2E%49%74%65%6D%28% 22%43%75%73%74%6F%6D%65%72%5F%49%44%22%29%2E%56%61 %6C%75%65%29%25%3E%26%23%33%38%3B%26%23%39%37%3B%2 6%23%31%30%39%3B%26%23%31%31%32%3B%26%23%35%39%3B% 26%23%37%35%3B%26%23%38%34%3B%26%23%39%35%3B%26%23 %39%38%3B%26%23%39%37%3B%26%23%39%39%3B%26%23%31%3 0%37%3B%26%23%36%31%3B%26%23%34%39%3B%26%23%33%34% 3B%3E%3C%69%6D%67%20%73%72%63%3D%22%2E%2E%2F%49%6D %61%67%65%73%2F%70%72%69%6E%74%2E%6A%70%67%22%20%6 1%6C%74%3D%22%50%72%69%6E%74%22%20%77%69%64%74%68% 3D%22%31%39%22%20%68%65%69%67%68%74%3D%22%31%34%22 %20%62%6F%72%64%65%72%3D%22%30%22%20%2F%3E%3C%2F%6 1%3E%26%23%33%32%3B%26%23%33%38%3B%26%23%31%31%30% 3B%26%23%39%38%3B%26%23%31%31%35%3B%26%23%31%31%32 %3B%26%23%35%39%3B%3C%61%20%20%68%72%65%66%3D%22%2 E%2E%2F%53%74%6F%63%6B%41%6C%6C%6C%6F%63%61%74%69% 6F%6E%2F%50%72%65%70%61%72%65%52%65%70%6F%72%74%2E %61%73%70%3F%70%6B%66%6B%43%6C%69%65%6E%74%4F%72%6 4%65%72%5F%49%44%3D%3C%25%3D%28%72%73%63%6C%69%65% 6E%74%6F%72%64%65%72%73%31%2E%46%69%65%6C%64%73%2E %49%74%65%6D%28%22%70%6B%66%6B%43%6C%69%65%6E%74%4 F%72%64%65%72%5F%49%44%22%29%2E%56%61%6C%75%65%29% 25%3E%26%23%33%38%3B%26%23%39%37%3B%26%23%31%30%39 %3B%26%23%31%31%32%3B%26%23%35%39%3B%26%23%36%37%3 B%26%23%31%31%37%3B%26%23%31%31%35%3B%26%23%31%31% 36%3B%26%23%31%31%31%3B%26%23%31%30%39%3B%26%23%31 %30%31%3B%26%23%31%31%34%3B%26%23%37%33%3B%26%23%3 6%38%3B%26%23%36%31%3B%3C%25%3D%28%72%73%63%6C%69% 65%6E%74%6F%72%64%65%72%73%31%2E%46%69%65%6C%64%73 %2E%49%74%65%6D%28%22%43%75%73%74%6F%6D%65%72%5F%4 9%44%22%29%2E%56%61%6C%75%65%29%25%3E%26%23%33%38% 3B%26%23%39%37%3B%26%23%31%30%39%3B%26%23%31%31%32 %3B%26%23%35%39%3B%26%23%37%35%3B%26%23%38%34%3B%2 6%23%39%35%3B%26%23%39%38%3B%26%23%39%37%3B%26%23% 39%39%3B%26%23%31%30%37%3B%26%23%36%31%3B%26%23%34 %39%3B%26%23%33%34%3B%3E%3C%69%6D%67%20%73%72%63%3 D%22%2E%2E%2F%49%6D%61%67%65%73%2F%6D%61%67%6E%69% 66%79%69%6E%67%47%6C%61%73%73%2E%67%69%66%22%20%61 %6C%74%3D%22%53%68%6F%77%20%53%74%6F%63%6B%20%53%7 4%61%74%75%73%22%20%77%69%64%74%68%3D%22%31%35%22% 20%68%65%69%67%68%74%3D%22%31%35%22%20%62%6F%72%64 %65%72%3D%22%30%22%20%2F%3E%3C%2F%61%3E%3C%61%20%6 3%6C%61%73%73%3D%22%4B%54%5F%65%64%69%74%5F%6C%69% 6E%6B%22%20%68%72%65%66%3D%22%43%6C%69%65%6E%74%4F %72%64%65%72%73%45%64%69%74%2E%61%73%70%3F%70%6B%6 6%6B%43%6C%69%65%6E%74%4F%72%64%65%72%5F%49%44%3D% 3C%25%3D%28%72%73%63%6C%69%65%6E%74%6F%72%64%65%72 %73%31%2E%46%69%65%6C%64%73%2E%49%74%65%6D%28%22%7 0%6B%66%6B%43%6C%69%65%6E%74%4F%72%64%65%72%5F%49% 44%22%29%2E%56%61%6C%75%65%29%25%3E%26%23%33%38%3B %26%23%39%37%3B%26%23%31%30%39%3B%26%23%31%31%32%3 B%26%23%35%39%3B%26%23%36%37%3B%26%23%31%31%37%3B% 26%23%31%31%35%3B%26%23%31%31%36%3B%26%23%31%31%31 %3B%26%23%31%30%39%3B%26%23%31%30%31%3B%26%23%31%3 1%34%3B%26%23%37%33%3B%26%23%36%38%3B%26%23%36%31% 3B%3C%25%3D%28%72%73%63%6C%69%65%6E%74%6F%72%64%65 %72%73%31%2E%46%69%65%6C%64%73%2E%49%74%65%6D%28%2 2%43%75%73%74%6F%6D%65%72%5F%49%44%22%29%2E%56%61% 6C%75%65%29%25%3E%26%23%33%38%3B%26%23%39%37%3B%26 %23%31%30%39%3B%26%23%31%31%32%3B%26%23%35%39%3B%2 6%23%37%35%3B%26%23%38%34%3B%26%23%39%35%3B%26%23% 39%38%3B%26%23%39%37%3B%26%23%39%39%3B%26%23%31%30 %37%3B%26%23%36%31%3B%26%23%34%39%3B%26%23%33%34%3 B%3E%3C%25%3D%4E%58%54%5F%67%65%74%52%65%73%6F%75% 72%63%65%28%22%65%64%69%74%5F%6F%6E%65%22%29%25%3E %3C%2F%61%3E%26%23%33%32%3B%3C%61%20%63%6C%61%73%7 3%3D%22%4B%54%5F%65%64%69%74%5F%6C%69%6E%6B%22%20% 68%72%65%66%3D%22%43%6C%69%65%6E%74%4F%72%64%65%72 %44%65%74%61%69%6C%73%4C%69%73%74%2E%61%73%70%3F%4 3%6C%69%65%6E%74%4F%72%64%65%72%5F%49%44%3D%3C%25% 3D%28%72%73%63%6C%69%65%6E%74%6F%72%64%65%72%73%31 %2E%46%69%65%6C%64%73%2E%49%74%65%6D%28%22%70%6B%6 6%6B%43%6C%69%65%6E%74%4F%72%64%65%72%5F%49%44%22% 29%2E%56%61%6C%75%65%29%25%3E%26%23%33%38%3B%26%23 %39%37%3B%26%23%31%30%39%3B%26%23%31%31%32%3B%26%2 3%35%39%3B%26%23%37%35%3B%26%23%38%34%3B%26%23%39% 35%3B%26%23%39%38%3B%26%23%39%37%3B%26%23%39%39%3B %26%23%31%30%37%3B%26%23%36%31%3B%26%23%34%39%3B%2 6%23%33%34%3B%3E%3C%25%3D%4E%58%54%5F%67%65%74%52% 65%73%6F%75%72%63%65%28%22%44%65%74%61%69%6C%73%22 %29%25%3E%3C%2F%61%3E

_______________
Reply With Quote
  #5 (permalink)  
Old 07-22-2008, 09:48 PM
Rat_Boy_Hams@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Changing a dynamic list link to an image

Thanks for your help but I am probably missing the obvious.

If I change the button image, all buttons will have the same image.

I use two different images one for update and another for delete.

I tried the following code but it just displayed the html on the button image.




<%=(rsTBL_IS_ACCESS_RIGHTS1.Fields.Item("AR_ID").V alue)%>&KT_back=1"><%=NXT_getResource("edit_one")% > <IS_Access_Rights_detail.asp?AR_ID=> <#delete>

Reply With Quote
  #6 (permalink)  
Old 07-24-2008, 01:52 AM
Mohiuddin_Khan_Inamdar@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: Changing a dynamic list link to an image

Hi,
just remove the <%=NXT_getResource("edit_one")%> thats all..
u will no longer get that EDIT

if u remove this line
<%=NXT_getResource("delete_one")%>

u will no longer get delete.

<a href="PrintClientOrder.asp?pkfkClientOrder_ID=<%=( rsclientorders1.Fields.Item("pkfkClientOrder_ID"). Value)%>&amp;CustomerID=<%=(rsclientorders1.Fields .Item("Customer_ID").Value)%>&amp;KT_back=1"><img src="../Images/print.jpg" alt="Print" width="19" height="14" border="0" /></a> &nbsp;

see this above one its for showing a print foto/image/picture without showing the "print" word in text on that same image.

if u still cannot do it then please email me OR please attach ur file here..

if u r posting ur file into this forum then
please not also use
this url <http://www.string-functions.com/htmlencode.aspx>

else i cannot see what u post here.

bcos all HTML is removed.

thanks
mohnkhan
<http://www.mohitech.com>
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:09 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk