Go Back   Mosets Community > Mosets Hot Property 0.98 > Hot Property Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2005, 01:48 AM
lena lena is offline
Junior Member
 
Join Date: May 2005
Posts: 2
Default slide show

Hi, are you planning to add a slide show to your component?

Thanks
Reply With Quote
  #2  
Old 05-20-2005, 11:31 AM
dknight dknight is offline
Mosets Team - Lead Developer
 
Join Date: Dec 2004
Posts: 12,826
Default

Hello lena, there is an addon by mambosolutions that provide slide show capability. Take a look at this demo:

http://www.mambosolutions.com/demos/...id=1&Itemid=41

Cheers!
__________________
Lee
Lead Developer
Mosets.com - Quality Joomla! Solutions
Reply With Quote
  #3  
Old 05-26-2005, 08:49 PM
lena lena is offline
Junior Member
 
Join Date: May 2005
Posts: 2
Default

thanks! this is a really nice one!
Reply With Quote
  #4  
Old 05-26-2005, 09:46 PM
Alex Alex is offline
Mosets'd
 
Join Date: Dec 2004
Location: London
Posts: 2,046
Send a message via MSN to Alex
Default

Hi Lena,

As far as I know John from mambosolutions.com can install the slide show addon for you so you can avoid any troubles with that if you decide to go for it.
__________________
Alex,
Custom vBulletin/Joomla! Developer
For sale: Joomla.cc & Joomla.ws
Reply With Quote
  #5  
Old 09-29-2005, 10:14 PM
mediapole mediapole is offline
Junior Member
 
Join Date: Aug 2005
Location: nice
Posts: 11
Send a message via MSN to mediapole
Exclamation Special need

Hello,
I need a Flash or Javascript SlideShow for Hot Property !
But i need an automatic animation (photo change each x sec)...
Can you make me a purpose for that ?
Chris.
Reply With Quote
  #6  
Old 10-01-2005, 03:19 PM
Alex Alex is offline
Mosets'd
 
Join Date: Dec 2004
Location: London
Posts: 2,046
Send a message via MSN to Alex
Default

Hi Chris,

I suggest you to google for "javascript image slideshow" or any closer combination and see what it brings up. You can then adjust it to be usable with Hot Property. Shouldn't really be difficult assuming you can handle basic HTML / PHP / Javascript code.

Regards,
__________________
Alex,
Custom vBulletin/Joomla! Developer
For sale: Joomla.cc & Joomla.ws
Reply With Quote
  #7  
Old 01-17-2006, 09:09 AM
James James is offline
Junior Member
 
Join Date: Apr 2005
Posts: 26
Default

Since you make it sound so simple, can you folks at Mosets please make a quick slideshow module for us customers? I'm sure all of your customers would love to just be able to download a module real quick rather than have to make their own from scratch. It's better to have 1 person do the work rather than all thousands of your customers don't you think?!

Thanks...hope to see a module soon!
Reply With Quote
  #8  
Old 01-28-2006, 05:47 AM
meikeric meikeric is offline
Mosets'd
 
Join Date: Jan 2006
Location: Johnson City, TN.
Posts: 54
Send a message via AIM to meikeric Send a message via MSN to meikeric Send a message via Yahoo to meikeric Send a message via Skype™ to meikeric
Default Slideshow

Howdy all, I'm finishing up a slideshow for HotProperty. I'll post it up tonight if I remember. Send me an email meikeric {at] gmail [dot} com if you are interested. It's Javascript based, and you can have it for free. Just need a little more tweaking. Cross-browser compliant.
Reply With Quote
  #9  
Old 01-28-2006, 09:13 AM
James James is offline
Junior Member
 
Join Date: Apr 2005
Posts: 26
Default

Thanks! It's good to see the community is fulfilling desires
Reply With Quote
  #10  
Old 01-28-2006, 04:20 PM
meikeric meikeric is offline
Mosets'd
 
Join Date: Jan 2006
Location: Johnson City, TN.
Posts: 54
Send a message via AIM to meikeric Send a message via MSN to meikeric Send a message via Yahoo to meikeric Send a message via Skype™ to meikeric
Default Done, but needs testing

I have only done a tiny bit of testing, so I need you guys to test it.

Directions on a unmodified HotProperty install.
Find line: 575ish (Sorry, not sure exactly, I've been hacking at this all night.)

Look for this section
Code:
		if ($hp_show_emailicon && !$pop) {
			?><a href="javascript:void window.open('<?php echo $mosConfig_live_site; ?>/index2.php?option=com_hotproperty&amp;task=emailform&amp;id=<?php echo $prop[0]->id; ?>', 'win2', 'status=no,toolbar=no,scrollbars=no,titlebar=no,menubar=no,resizable=yes,width=400,height=235,directories=no,location=no');" title="<?php echo _CMN_EMAIL;?>"><img
    src="<?php echo $mosConfig_live_site;?>/images/M_images/emailButton.png" border='0' alt="<?php echo _CMN_EMAIL; ?>" /></a>
		&nbsp;	
		<?php
		}
		?>			
		</div>
RIGHT after this section insert this:
Code:
<?php

        // Copyright © 2006, Michael Rice
        // License: GPL but you must email when you use it to let me know and this copyright MUST remain intact.
        // Email: meikeric {at] gmail [dot} com
        // You can donate to my Paypal and request hacks for HotProperty.  Every little bit helps.
        // Paypal: meikeric {at] gmail [dot} com
        
        ?>
        <?php $iCount = count($images); ?>
       <script language="JavaScript" type="text/javascript">
        //for image viewer slide show

        myCount = 0;

        function UpdateCounter( currentCount )
        {
	        myCount = currentCount;
        }

        function loadImgArray( strList ){
	        myImgList = strList.split(",");
        }
        function NextSlideShow( maxCount ){
	        if(myCount >= maxCount){
		        myCount = 0;
	        }else{
		        myCount++;
	        }
	        //alert( myImgList[myCount] );
	        show('MainPhoto',myImgList[myCount]);
	        fillLabel('img_x',myCount+1);
        }
        function PrevSlideShow( maxCount ){
	        if(myCount <= 0){
		        myCount = maxCount;
	        }else{
		        myCount--;
	        }
	        //alert( myImgList[myCount] );
	        show('MainPhoto',myImgList[myCount]);
	        fillLabel('img_x',myCount+1);
        }

        function fillLabel(inField,inValue){
            if(document.layers)    //NN4+
            {
               document.layers[inField].innerHTML = inValue;
            }
            else if(document.getElementById)      //gecko(NN6) + IE 5+
            {
                var obj = document.getElementById(inField);
                obj.innerHTML = inValue;
            }
            else if(document.all)       // IE 4
            {
                document.all[inField].innerHTML = inValue;
            }
        }

        function show(name,src) {
            if (document.images)
                document.images[name].src = src;
        }
        </script>

        <div id="hp_view_standard_photo_con1">
        <table>
	        <tr>
		        <td colspan=2 align=center>
                                <a href='javascript:NextSlideShow( <?php echo $iCount-1; ?>);'><img src='<?php echo $mosConfig_live_site.$hp_imgdir_standard.$images[0]->standard; ?>' name='MainPhoto' alt='Click here to view the next image' border='0' class='search01'></a>
 		        </td>
	        </tr>

	        <tr>
		        <td align='center' colspan='2' nowrap><strong>
                                ‹ <A href='javascript:PrevSlideShow( <?php echo $iCount-1; ?> );'>Previous Photo</a> &nbsp;&nbsp;<span id="img_x">1</span> of <span id="img_n"><?= $iCount; ?></span>&nbsp;&nbsp;
                                <A href='javascript:NextSlideShow( <?php echo $iCount-1; ?> );'>Next Photo</a> ›</strong>
                        </td>
                   </tr>
        </table>
                <script language='Javascript' type="text/javascript">
                <!--                                                          
                loadImgArray( '<?php
                $i = 1;
                foreach($images AS $image) {
                    echo $mosConfig_live_site.$hp_imgdir_standard.$image->standard;
                    if($iCount > 1 && $i != $iCount) {
                        echo ',';
                    }
                    $i++;
                }

                ?>' );
                //-->
                </script>
        </div>
Now IF you don't want the only image thing
Start the open comments here:
Code:
		<?php /*if (isset($images[0]->standard) && $images[0]->standard <> '') {
You see the /* ? That's the start of the comment.
Change
Code:
}
				</script> ?>
		<div id="con_hp2">
to
Code:
}
				</script>*/ ?>
		<div id="con_hp2">
Change
Code:
<?php foreach($prop AS $p) { 
			if (count($images) > 1) { ?>
to
Code:
<?php foreach($prop AS $p) { 
			/*if (count($images) > 1) { ?>
End the comment at this line AFTER the }
Like so
Code:
			<?php } */ // End If: count($images)  ?>
Then clear your Joomla cache, and load the page.

Let me know if this works out for you.
Email
meikeric {at] gmail [dot} com

Hope this works out.

See it in action, as I work on my site at Outer Banks

Last edited by meikeric; 11-16-2006 at 12:42 PM. Reason: Added code.
Reply With Quote
  #11  
Old 01-28-2006, 05:12 PM
meikeric meikeric is offline
Mosets'd
 
Join Date: Jan 2006
Location: Johnson City, TN.
Posts: 54
Send a message via AIM to meikeric Send a message via MSN to meikeric Send a message via Yahoo to meikeric Send a message via Skype™ to meikeric
Default Animation Slide Show

And for mediapole:
Personally, I don't like this feature, but it only took another couple of minutes to implement and test, so whoopdie doo.

In above code
Code:
       <script language="JavaScript" type="text/javascript">
        //for image viewer slide show

        myCount = 0;

        function UpdateCounter( currentCount )
        {
	        myCount = currentCount;
        }

        function loadImgArray( strList ){
	        myImgList = strList.split(",");
        }
        function NextSlideShow( maxCount ){
	        if(myCount >= maxCount){
		        myCount = 0;
	        }else{
		        myCount++;
	        }
	        //alert( myImgList[myCount] );
	        show('MainPhoto',myImgList[myCount]);
        }
        function PrevSlideShow( maxCount ){
	        if(myCount <= 0){
		        myCount = maxCount;
	        }else{
		        myCount--;
	        }
	        //alert( myImgList[myCount] );
	        show('MainPhoto',myImgList[myCount]);
        }

        function fillLabel(inField,inValue){
            if(inValue == ''){
	        inValue = myCount + 1;
            }
            if(document.layers)    //NN4+
            {
               document.layers[inField].innerHTML = inValue;
            }
            else if(document.getElementById)      //gecko(NN6) + IE 5+
            {
                var obj = document.getElementById(inField);
                obj.innerHTML = inValue;
            }
            else if(document.all)       // IE 4
            {
                document.all[inField].innerHTML = inValue;
            }
        }

        function show(name,src) {
            if (document.images)
                document.images[name].src = src;
        }
        </script>
Change it to this

Code:
       <script language="JavaScript" type="text/javascript">
        //for image viewer slide show

        myCount = 0;

        function UpdateCounter( currentCount )
        {
	        myCount = currentCount;
        }

        function loadImgArray( strList ){
	        myImgList = strList.split(",");
        }
        function NextSlideShow( maxCount ){
	        if(myCount >= maxCount){
		        myCount = 0;
	        }else{
		        myCount++;
	        }
	        //alert( myImgList[myCount] );
	        show('MainPhoto',myImgList[myCount]);
        }
        function PrevSlideShow( maxCount ){
	        if(myCount <= 0){
		        myCount = maxCount;
	        }else{
		        myCount--;
	        }
	        //alert( myImgList[myCount] );
	        show('MainPhoto',myImgList[myCount]);
        }

        function fillLabel(inField,inValue){
            if(inValue == ''){
	        inValue = myCount + 1;
            }
            if(document.layers)    //NN4+
            {
               document.layers[inField].innerHTML = inValue;
            }
            else if(document.getElementById)      //gecko(NN6) + IE 5+
            {
                var obj = document.getElementById(inField);
                obj.innerHTML = inValue;
            }
            else if(document.all)       // IE 4
            {
                document.all[inField].innerHTML = inValue;
            }
        }

        function show(name,src) {
            if (document.images)
                document.images[name].src = src;
        }
        
        function startTimer(){
            speed = 4;
            interval=setInterval('NextSlideShow( <?php echo $iCount-1; ?> );',speed*1000);
        }
        </script>
NOTE: I just added a timer function. The speed 4 is seconds. setInterval does 1/1000 of a second, that is why I have speed*1000.

Next:
For the Picture hyperlink
Code:
<a href='javascript:NextSlideShow( <?php echo $iCount-1; ?>);'><img src='<?php echo $mosConfig_live_site.$hp_imgdir_standard.$images[0]->standard; ?>' name='MainPhoto' alt='Click here to view the next image' border='0' class='search01'></a>
change it to this:
Code:
                                <img width="1" height="1" src="/images/blank.png" onload="startTimer();" />
                                <a href='javascript:NextSlideShow( <?php echo $iCount-1; ?>); clearInterval(interval);'><img src='<?php echo $mosConfig_live_site.$hp_imgdir_standard.$images[0]->standard; ?>' name='MainPhoto' alt='Click here to view the next image' border='0' class='search01'></a>
What that does is adds an invisible img, that forces the timer to start on page load. As well, when you click the picture it will stop the animation.

And finally
Code:
                                ‹ <A href='javascript:PrevSlideShow( <?php echo $iCount-1; ?> );'>Previous Photo</a> &nbsp;&nbsp;&nbsp;&nbsp;
                                <A href='javascript:NextSlideShow( <?php echo $iCount-1; ?> );'>Next Photo</a> ›</strong>
Becomes
Code:
                                ‹ <A href='javascript:PrevSlideShow( <?php echo $iCount-1; ?> ); clearInterval(interval);'>Previous Photo</a> &nbsp;&nbsp;&nbsp;&nbsp;
                                <a href='javascript:NextSlideShow( <?php echo $iCount-1; ?> ); clearInterval(interval);'>Next Photo</a> ›</strong>
Anytime you see the clearInterval(interval), that signals to stop the animation.

So there you go. A FREE Javascript slideshow with animation. Now send me some beer 'cause I'm almost out.

I'm off to bed, it's 4 AM, and I'm programming for people I've never even talked to.
Night,
Mike
Reply With Quote
  #12  
Old 01-29-2006, 04:53 PM
James James is offline
Junior Member
 
Join Date: Apr 2005
Posts: 26
Default

Hey thanks dude! I was actually looking for a module which displays the slide show. Like a hack of the random property module. Any ideas on how to do this?

Thanks though...I'm gonna try this out as well.
Much appreciated!
Reply With Quote
  #13  
Old 01-30-2006, 01:25 AM
meikeric meikeric is offline
Mosets'd
 
Join Date: Jan 2006
Location: Johnson City, TN.
Posts: 54
Send a message via AIM to meikeric Send a message via MSN to meikeric Send a message via Yahoo to meikeric Send a message via Skype™ to meikeric
Default

Where do you want the module to display? This wouldn't be too hard of a module to write.
Reply With Quote
  #14  
Old 01-30-2006, 05:53 AM
James James is offline
Junior Member
 
Join Date: Apr 2005
Posts: 26
Default

Just like the random property w/pic module that comes with HP...but in slideshow version. So that it can be placed in any module position and can be clicked to go to that specific property.

That would be awesome!
Thanks
Reply With Quote
  #15  
Old 01-30-2006, 11:17 AM
meikeric meikeric is offline
Mosets'd
 
Join Date: Jan 2006
Location: Johnson City, TN.
Posts: 54
Send a message via AIM to meikeric Send a message via MSN to meikeric Send a message via Yahoo to meikeric Send a message via Skype™ to meikeric
Default Slideshow Module

Give me a night, and I can probably do it tomorrow. It will be $50.00. Do you want this to only be featured properties or all. Because if it's all, and you have alot of properties, it will be loading a lot of data into a Javascript array.

Last edited by meikeric; 01-30-2006 at 11:22 AM.
Reply With Quote
  #16  
Old 05-17-2006, 12:06 AM
vidarh vidarh is offline
Junior Member
 
Join Date: May 2006
Posts: 1
Default

how can I turn off default way to show image?
for the moment I have first the slideshow (that is very nice), and then under I have all the images, as it allways have been.
Reply With Quote
  #17  
Old 06-11-2006, 04:41 PM
CT Internet CT Internet is offline
Member
 
Join Date: Oct 2005
Location: Spain
Posts: 48
Send a message via ICQ to CT Internet Send a message via MSN to CT Internet
Default

I have been getting alot of requests for implementing the slideshow on http://www.remaxtropical.com so I thought I better post that I have a standard price of €100 for a similar implementation.
Reply With Quote
  #18  
Old 06-16-2006, 10:27 PM
aaktas aaktas is offline
Junior Member
 
Join Date: Feb 2006
Posts: 5
Default

Alex,
Mambosolutions is far away from supporting their add-on leave alone installing the addon to avoid the problems. All they reply is asking for admin logon so they can look into the issue. Seems like looking into issue takes about a month... And lots of promises which is not hold.
There is still an open ticket with them since 25 May 2006 09:33 PM, no resolution. So called out-of box working package with no support at all behind it.
Just sad... Thought that was a great add on to a brilliant component like Hotproperty, but ... dissapointed now...

aaktas
webmaster@websrus.co.uk


Quote:
Originally Posted by Alex
Hi Lena,

As far as I know John from mambosolutions.com can install the slide show addon for you so you can avoid any troubles with that if you decide to go for it.
Reply With Quote
  #19  
Old 06-16-2006, 10:31 PM
Alex Alex is offline
Mosets'd
 
Join Date: Dec 2004
Location: London
Posts: 2,046
Send a message via MSN to Alex
Default

Sorry to hear that you are having troubles with getting support for the image slider add-on, I will try to contact them personally and drag their attention to this thread and possibly you'll get a faster response from them...
__________________
Alex,
Custom vBulletin/Joomla! Developer
For sale: Joomla.cc & Joomla.ws
Reply With Quote
  #20  
Old 06-17-2006, 04:11 AM
aaktas aaktas is offline
Junior Member
 
Join Date: Feb 2006
Posts: 5
Default

Thanks for your efforts Alex, I truely appreciate it.
After a little bit search around Joola community, I see that I am not only one having the trouble with the add-on, also with mambosolutions support. But lets leave it there without opening any further comment as Mosets have totally different approach for supporting their components and I really do not with to lead this thread on "lets throw the dirt on mambosolutions" way.

However, if anyone puts their components up for sale commercially instead of letting other users to support each other throught user forums, then that product should be taken care of, even some of succesfull GPL licensed components that we all know have direct support from developers as well as other users.

Somehow somebody does not seem realizing the support responsibility of commercial add-on... I would like to see John's honest comments on this issue also.

I am pretty sure all Mosets Hotproperty customers would love to get a clear picture of what support they would get out of Mambosolutions if they are thinking of buying mentioned product as an add-on to a succesfull component.



Atila
webmaster@websrus.co.uk
Reply With Quote
  #21  
Old 06-30-2006, 04:41 PM
diver_dan diver_dan is offline
Member
 
Join Date: Mar 2005
Posts: 67
Default Some work done

We have done some work but I still think there is room for improvement.

Demo at
http://www.sailing-whitsunday.co.uk/...d=13&Itemid=27

IE only

Cheers

Dan

Last edited by diver_dan; 06-30-2006 at 05:35 PM.
Reply With Quote
  #22  
Old 07-01-2006, 03:06 AM
meikeric meikeric is offline
Mosets'd
 
Join Date: Jan 2006
Location: Johnson City, TN.
Posts: 54
Send a message via AIM to meikeric Send a message via MSN to meikeric Send a message via Yahoo to meikeric Send a message via Skype™ to meikeric
Default

If you need any help make it cross-browser friendly, and adding features, let me know: meikeric@gmail.com I've done a good bit of hotproperty work for people on this forum. Can't wait for the one I'm currently working on to launch, (http://www.xxxxxxxx.com, I wish I could tell you the domain). Suffice to say, I've added a bunch of features, and made some huge improvements in the HP code. We're looking at launching in about 2 weeks I would surmise.
Mike
Reply With Quote
  #23  
Old 09-25-2006, 06:55 PM
danjam danjam is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
Default Easy-to-use slide-show script...

Here is an image viewer, in object-oriented, cross-browser JavaScript. Very easy to plug and play, with "slide show" feature, and fully customisable in CSS and HTML:

javascript image viewer
http://www.webonweboff.com/widgets/js/image_viewer.aspx

Article includes a demo, source code, explanations.

Hope this helps...
Reply With Quote
  #24  
Old 11-03-2006, 06:24 PM
1attila 1attila is offline
Junior Member
 
Join Date: May 2006
Posts: 3
Default Modified you slide-show, but ran into a little problem, please help.

Hello meikeric,

Thank you so much for your slide-show for hotproperty, helped us a lot, at least me. But I needed to tweak it, in the way that:

a) you can stop and restart the slide-show whenever you want by clicking on the photo.
Reason: once you clicked on prev and next photo, the slideshow just stopped, so i need to let the user to be able to control that.

b)during the slideshow, and when clicking on prev and next photo, i wanted the title and the description at the bottom of the photo to be refreshed as well.

I have done some code, that works, to some extent, and I would really need a little help to go over it and a few problems that i just couldnt figure out on my own for 4 days. And, it might be useful for others out there.
I am not a php, or web programmer whatsoever, and i never touched mambo or joomla until 4 days ago, but i tried to apply my knowledge of windows/desktop programming into it, with trial and error.

So,

a) in order to have the slide show stop and restart upon clicking on the photo itself, this is what I did:

- first, at loadup:

Code:
<div id="hp_view_standard_photo_con1">
	<div id="hp_view_standard_photo_con2">			
		<div id="hp_view_standard_photo_con3">
		<a href='javascript:startTimer();'>
			<img src='<?php echo $mosConfig_live_site.$hp_imgdir_standard.$images[0]->standard; ?>' name='MainPhoto' alt='Click here to pause the slide-show' border='0' class='search01'></div>
			<div id="hp_view_standard_photo_con4">
				<div id="hp_view_standard_photo_title"><?php echo $images[0]->title; ?>&nbsp;</div>
				<div id="hp_view_standard_photo_desc"><?php echo htmlentities($images[0]->desc, ENT_QUOTES); ?>&nbsp;</div>
		</a>
		</div>			
	</div>			
</div>
Notice, how the title and description of the first photo will be displayed here by invoking the properties:
$images[0]->title and $images[0]->desc

So far so good.

- Now, onto the timer for stopping and restarting the slide show when clicking on the photo, introducing bTimer, a boolean to toggle the start and stop of the timer for slide-showing the photos:

Code:
              <script language="JavaScript" type="text/javascript">
        //for image viewer slide show

        myCount = 0;
        bTimer = 0;
		
        function UpdateCounter( currentCount )
        {
	        myCount = currentCount;
        }

        function loadImgArray( strList ){
	        myImgList = strList.split(",");
        }


        function NextSlideShow( maxCount ){
	        if(myCount >= maxCount){
		        myCount = 0;
	        }else{
		        myCount++;
	        }
	        //alert( myImgList[myCount] );
			show('MainPhoto',myImgList[myCount]);
			bTimer = 0;
			document.getElementById("MainPhoto").alt = 'Click here to start the slide-show';
        }
        function PrevSlideShow( maxCount ){
	        if(myCount <= 0){
		        myCount = maxCount;
	        }else{
		        myCount--;
	        }
	        //alert( myImgList[myCount] );
			show('MainPhoto',myImgList[myCount]);
			bTimer = 0;
			document.getElementById("MainPhoto").alt = 'Click here to start the slide-show';
        }

        function fillLabel(inField,inValue){
            if(inValue == ''){
	        inValue = myCount + 1;
            }
            if(document.layers)    //NN4+
            {
               document.layers[inField].innerHTML = inValue;
            }
            else if(document.getElementById)      //gecko(NN6) + IE 5+
            {
                var obj = document.getElementById(inField);
                obj.innerHTML = inValue;
            }
            else if(document.all)       // IE 4
            {
                document.all[inField].innerHTML = inValue;
            }
        }

        function show(name,src) {
            if (document.images) {
                document.images[name].src = src;
				

				}
        }

        function NextSlideShowAuto( maxCount ){
	        if(myCount >= maxCount){
		        myCount = 0;
	        }else{
		        myCount++;
	        }
	        //alert( myImgList[myCount] );
			
			show('MainPhoto',myImgList[myCount]);									
			bTimer = 1;
        }
        		
        function startTimer(){
            if(bTimer == 0){
			bTimer = 1;
			speed = 2;
            			
			// &nbsp;
			
			interval=setInterval('NextSlideShowAuto( <?php echo $iCount-1; ?> );',speed*1000);
			document.getElementById("MainPhoto").alt = 'Click here to pause the slide-show';
			}else{
				clearInterval(interval);
				bTimer = 0;
				document.getElementById("MainPhoto").alt = 'Click here to start the slide-show';
			}
        }
        </script>
So far, seems allright... i dunno how good this code is, might be messy and not optimal... I would accept any suggestions as to how to improve it, and i dont even know if its crossbrowser compatible and all that... please help..?

b) And now, onto adding the title and description of the photo to refresh at the bottom of the photo, when slide-showing or simply clicking on prev and next photo links.

I got inspired from this code of yours for arraying the photos:

Code:
                loadImgArray( '<?php
                $i = 1;
                foreach($images AS $image) {
                    echo $mosConfig_live_site.$hp_imgdir_standard.$image->standard;
                    if($iCount > 1 && $i != $iCount) {
                        echo ',';
                    }
                    $i++;
                }	
                ?>' );
and the referred function:
Code:
        function loadImgArray( strList ){
	        myImgList = strList.split(",");
        }
to show the title, by adding this code, copycat of yours:

Code:
                loadTitleArray( '<?php
                $i = 1;
                foreach($images AS $image) {
                    echo $mosConfig_live_site.$hp_imgdir_standard.$image->title;
                    if($iCount > 1 && $i != $iCount) {
                        echo ',';
                    }
                    $i++;
                }	
                ?>' );
and its referred function:
Code:
        function loadTitleArray( strTList ){
	        myTitleList = strTList.split(",");
        }
and changing the above code, shown earlier:
Code:
        function show(name,src) {
            if (document.images) {
                document.images[name].src = src;

				}
        }
into this, for retrieving the corresponding title of the photo, and updating the info on screen:

Code:
        function show(name,src) {
            if (document.images) {
                document.images[name].src = src;
				
				ArrTit = myTitleList[myCount].split("/");

				document.getElementById("hp_view_standard_photo_title").childNodes[0].nodeValue = ArrTit[ArrTit.length-1];

				}
        }
and works beautifully!

Problem arises when wanting to do the same thing with the description. Logically, seeing that
$image->standard gives out a handle to the current photo at the load up part, seeing that $image->title retrieves the title property of that photo, and seeing that $image->desc, still at the load up part, returns the description of that current photo, i figured i would copycat again the original code you had for populating an array with the photos, which i did for the titles, and create an array of the descriptions of each photo, by adding this code here:

Code:
				loadDescArray ( '<?php
                $i = 1;
                foreach($images AS $image) {
	                echo $mosConfig_live_site.$hp_imgdir_standard.$image->desc ;
                    if($iCount > 1 && $i != $iCount) {
                        echo ',';
                    }
                    $i++;
                }	
                ?>' );
which just, doesnt want to work. it seems it stops everything, and because of this code, even the timer stops.

if i changed the $mosConfig_live_site.$hp_imgdir_standard.$image->desc ; part to $mosConfig_live_site.$hp_imgdir_standard.$image->standard ;, like this:

Code:
				loadDescArray ( '<?php
                $i = 1;
                foreach($images AS $image) {
	                echo $mosConfig_live_site.$hp_imgdir_standard.$image->standard ;
                    if($iCount > 1 && $i != $iCount) {
                        echo ',';
                    }
                    $i++;
                }	
                ?>' );
it works, but it would not show the description, only the path of the photo.

of course the accompanying code for it is:

Code:
        function loadDescArray( strDList ){
			//alert (strDList);
			myDescList = strDList.split(",");
and :

Code:
        function show(name,src) {
            if (document.images) {
                document.images[name].src = src;
				
				ArrTit = myTitleList[myCount].split("/");
("/");

				document.getElementById("hp_view_standard_photo_title").childNodes[0].nodeValue = ArrTit[ArrTit.length-1];
				document.getElementById("hp_view_standard_photo_desc").childNodes[0].nodeValue = myDescList[myCount];

				}
        }
so, thats my problem. and i cant figure out, why, when at load up, the call to $image->desc, or at least $images[0]-> or images[1]->desc, $images[$i]->desc etc, gives out a proper description, and why cant i reach it anymore, though reaching the titles in the same manner, either $image->title or $images[0]->title, $images[$i]->title still works!
i dont get the logic, and would really appreciate some help on this one.

Any ideas out there, why i can retrieve the titles but just cant retrieve the descriptions?
Thanks much people, and happy joomlaing!

Harry Szovik
Reply With Quote
  #25  
Old 11-07-2006, 04:23 PM
1attila 1attila is offline
Junior Member
 
Join Date: May 2006
Posts: 3
Default Problem with accessing description property of image object.

Any one out there at all to give me a hand.....?
I would really appreciate it.
You can view the slide-show in action, with stop and start features when clicking on the image, here:
http://www.immosurf.tv
then click on any displayed house that's for sale or for rent.
Reply With Quote
  #26  
Old 11-08-2006, 11:43 PM
fernsy fernsy is offline
Junior Member
 
Join Date: Apr 2006
Posts: 12
Default

Check out this slide show...

http://goldcoastproperty.com.au/

If anyone is interested, its from a commercial point so depending on how many people want it depends on the time and money? Perhaps all can get together and chip in...the more the better, the cheaper...

Cheers,
Ferns
Reply With Quote
  #27  
Old 11-14-2006, 09:47 AM
jherndon jherndon is offline
Mosets'd
 
Join Date: Nov 2006
Posts: 5
Wink Hi Fernsy, I am interested

Hi Fernsy,

I am interested in all of the changes that I see on your property page. Please give me a price to implement these. I am eager to get this functionality.

Thanks,

Julie
Reply With Quote
  #28  
Old 11-14-2006, 09:51 AM
fernsy fernsy is offline
Junior Member
 
Join Date: Apr 2006
Posts: 12
Default

Contact me at custom@goldcoastproperty.com.au for further info.

Are you able to send me a link of your current site please?

Regards,
GCP
Reply With Quote
  #29  
Old 06-02-2007, 04:24 AM
berkayonen berkayonen is offline
Junior Member
 
Join Date: Apr 2007
Posts: 14
Default How can i remove old image thumbnails.

Hi meikeric. I think you are the best user in this forum.
Thanks for your information.

But i have a problem. I apllied it it works fine for me but i want to remove the old thumbnails. I posted picture. Which codes i need to remove ?

Thanks for help everybody.

If you wanna how it works see my website http://www.aracigrup.com

Reply With Quote
  #30  
Old 06-10-2007, 10:07 PM
poubel poubel is offline
Member
 
Join Date: Apr 2006
Posts: 91
Wink

An great, nice and customizable flash slidershow for mosets hotproperty:

http://flash.votrewebsite.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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
All Images do not show Cybermatrix Hot Property Troubleshooting and Problems 10 01-13-2007 02:14 PM
customize number of propertied to show mambosolutions Hot Property Troubleshooting and Problems 5 12-22-2004 11:05 AM
button to show elements with the same value of an extrafield jul0577 Hot Property Troubleshooting and Problems 1 12-11-2004 04:39 PM


All times are GMT +8. The time now is 06:32 AM.

Copyright © 2005-2010 Mosets Consulting

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.