rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Miggi03

Pages: 1
1
Programmers corner / Re: Generate download/mailto link on hover
« on: June 30, 2014, 05:36:56 AM »
welcome miggi!
So, your code is popping up a panel with more features about the file. You then want to offer the mailto link.
What is stopping you at the moment?

i don't understand what you mean. I think jquery is a good solution for your task.

Hello and thanks for the welcome.

My lack of knowledge is what is stopping me from implementing this. I can make the mailto link appear on the page but I don't know how to add the specific file that I hover over.

Please see the example mock up attached.

2
Programmers corner / Re: Generate download/mailto link on hover
« on: June 19, 2014, 03:24:32 PM »
Hi, thank you for your replies however I seem to no be getting my requirment across properly.

I do not wish to zip multiple files.

If I wrote an example of the email I wish to send perhaps that would clarify things.

*EXAMPLE*

Dear whoever. <- The user would populate this field.

Attached are files for you to download <-- The user would write this as well.

HFS Would programmatically add these links to the body of the email.

https://miggi03isadickhead.co.uk/PICTURE001.jpg
https://miggi03isadickhead.co.uk/PICTURE002.jpg
https://miggi03isadickhead.co.uk/INSTRUCTIONS.PDF

*END EXAMPLE*

So to clarify I wish to add multiple download links, not files to the email.

Thanks for your patience,

3
Programmers corner / Re: Generate download/mailto link on hover
« on: June 19, 2014, 06:39:31 AM »
unknown why you want it on hover...

Your template code needs the actual html information...
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_mailto


Html code:
<p>
This is an email link:
<a href="mailto:someone@example.com?Subject=Hello%20again" target="_top">
Send Mail</a>
</p>

I supposes hover is not relevant. I might have phrased my question badly, what I am looking for is a method to be able to tick box 2 or more files, add them in the form of a download link in the contents of an email through the use of a template.

Thanks.


4
Programmers corner / Generate download/mailto link on hover
« on: June 18, 2014, 10:48:20 AM »
Dear all.

Firstly I would like to say thanks for this great software and apologize if this has been asked.

I am looking for a way to add the option of generating a mailto link for each file.

I have done some digging through the template and realise this maybe more of a JQuery question but I thought I would ask here in case I am missing a simpler method.

What I have so far is

$(function() {
   // Item Info
   var itemFader = 0;   
   $('.item').hover(function() {
      clearTimeout(itemFader);
      $('.preview', this).stop(true,true).fadeIn('fast');
      $('#item-info').css({'top':$(this).position().top + 54, 'left':$(this).position().left});      
      $('#item-access').html($(this).attr('item-access'));
      $('#item-added').html($(this).attr('item-added'));
      $('#item-dl-count').html($(this).attr('item-dl-count'));
      $('#item-comment').html($(this).attr('item-comment') ? $(this).attr('item-comment') : 'No information available!');

I guess this is calling functions from within HFS so even with JQuery additions this may be a waste of time?

The long term goal is to call to function a mailto link which populates the subject field in Outlook "You have a new file" etc and the body to populate with the Hyperlink to the file.

Please forgive my ignorance on the matter. I am keen to learn and any advice is appreciated.

Regards,

Michael.

Pages: 1