FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » activating a JS script from PHP redirect
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: activating a JS script from PHP redirect [message #184171 is a reply to message #184170] Wed, 11 December 2013 12:52 Go to previous messageGo to previous message
Scott Johnson is currently offline  Scott Johnson
Messages: 196
Registered: January 2012
Karma:
Senior Member
On 12/10/2013 6:12 PM, Denis McMahon wrote:
> On Tue, 10 Dec 2013 17:15:26 -0800, Scott Johnson wrote:
>
>> Currently there is only one page involved.
>
>> Lets say auto.html
>
>> On this page there is a quote link that calls a JS function on the page
>> looking at the class, id and rel from the link, that then displays a
>> currently hidden div that has the actual quote form on it.
>
> So your actual quote form is a hidden div on auto.html, rather than a
> separate quote.html.
>
>> Additionally there are 2 other pages.
>
>> An index.html page that has a quick quote form with a dropdown to select
>> quote category (such as auto, home etc..) which when clicked calls a
>> quote.php page which sends out an email to the agent.
>
> So presumably the quick quote form entails different data entry to the
> quote form on auto.html?
>
> Is auto.html for a specific type of insurance?
>
>> What they would like to do is combine the quick quote on the index.html
>> page to redirect to the category page, auto.html and display the quote
>> form in one fell swoop.
>
> It sounds to me as if the basic requirement is that:
>
> Index.html has a "quote" menu
>
> On the "quote" menu, you have a list of types of insurance (auto,
> building, home contents etc .....)
>
> Selecting the relevant type of insurance should open up a form that
> captures data relevant to the insurance quote type.
>
> This sounds more like a website structuring issue than a php or javascript
> issue. It sounds as if the existing website structure doesn't really
> match the way people are expected to use the website, which suggests that
> the website structure needs to be fixed.
>

I agree wholeheartedly about the initial design/layout. I believe it
was designed and thrown together in a rush to just get a site up. Now
we have to come in from behind and make things work that where not
designed to work.

I was able to create a solutions, but not one that I would be proud of
having someone else see. ;)

Scotty
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: recognize country
Next Topic: Open Portal - web portal software
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 09:14:08 GMT 2024

Total time taken to generate the page: 0.04547 seconds