Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i make custom?? #98

Open
Trapa-Eureka opened this issue Jan 30, 2021 · 1 comment
Open

how can i make custom?? #98

Trapa-Eureka opened this issue Jan 30, 2021 · 1 comment

Comments

@Trapa-Eureka
Copy link

<Coverflow width={960} height={480} displayQuantityOfSide={2} navigation={false} enableHeading={false}> <div onClick={() => fn()} onKeyDown={() => fn()} role="menuitem" tabIndex="0"> <img src='[image/path/please_change]' alt='title or description' style={{ display: 'block', width: '100%' }}/> </div> <img src='[image/path/please_change]' alt='title or description' data-action="http://andyyou.github.io/react-coverflow/"/> <img src='[image/path/please_change]' alt='title or description' data-action="http://andyyou.github.io/react-coverflow/"/> </Coverflow>

  1. How can I change from 'width={960}' to like px or percent?
  2. I tried to decorate it with 'div' instead of 'img', but it doesn't appear on the screen. How do I make it appear on the screen?
@GD0910
Copy link

GD0910 commented Oct 9, 2023

<Coverflow width={960} height={480} displayQuantityOfSide={2} navigation={false} enableHeading={false}> <div onClick={() => fn()} onKeyDown={() => fn()} role="menuitem" tabIndex="0"> <img src='[image/path/please_change]' alt='title or description' style={{ display: 'block', width: '100%' }}/> </div> <img src='[image/path/please_change]' alt='title or description' data-action="http://andyyou.github.io/react-coverflow/"/> <img src='[image/path/please_change]' alt='title or description' data-action="http://andyyou.github.io/react-coverflow/"/> </Coverflow>

  1. How can I change from 'width={960}' to like px or percent?
  2. I tried to decorate it with 'div' instead of 'img', but it doesn't appear on the screen. How do I make it appear on the screen?

go to vscode or any ide and copy the relative path of the image and put it in inverted comma ig this should solve the referencing part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants